Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Latest commit

 

History

History

simulation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

simulation

This folder contains the main experimence conducted in this project.

This file contains the constants used in the folder simulation.

This file contains the helpers methods used in the folder simulation.

This file contains the Onet simulation details. It is generally generated by the scripts run.sh, but can also be edited manually.

This file contains the main code of the experiment. First in Setup(), some files required for the simulation are copied on the remote hosts, then simulation parameters are loaded. Each peer runs the Node() method and generate all ARAs. Finally, in Run() run only on the root of the Onet tree, all IPFS and IPFS Cluster daemon start, and the performance test is run.

Note that the execution is most likely to take more than the 3 minutes Onet can handle, so just discard Onet error messages, when run on the remote host, the simulation will continue to output messages in the command line eventhough Onet says it stopped the program.

This file contains the structures used in the folder simulation.