/ChainwebSimulations

Chainweb Simulations

Primary LanguageJupyter Notebook

Simulation of Difficulty Algorithms for Chainweb

The simulation model supports different difficulty adjustment algorithms for network with more than a single hash function. It also support scenarios where chains start out with different difficulties.

Currently, only simulation results for networks with a single hash algorithm and identical initial difficulties for all chains are included.

Files:

  • Simulation.ipynb: The simulation model and the code for running simulations and storing the data.

  • data.pkl: results from running simulations for several DA algorithms.

  • Results.ipynb: The code for analysing and presenting the results.