This project simulates a Peer-to-Peer (P2P) Cryptocurrency Network, guided by Prof. Vinay Ribeiro for CS 765 at IIT Bombay.
- Python 3
- Pip Packages:
- numpy
- matplotlib
- networkx
- n: Number of Voters
- p: fraction_of_malicious
- q: fraction_of_very_honest
- steps: simulations steps
To start the simulation, run the following command in the project folder:
$ python simulator.py <number_of_voters> <fraction_of_malicious> <fraction_of_very_honest> <simulations_steps>
python startsimulator.py [n] [p] [q] [steps] for e.g
$python startsimulator.py 100 0.9 0.7 100