y1cunhui / bitcoin-simulation

An bitcoin simulation code, aimed at understanding the topology of bitcoin network and the information propogation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

a project to get topology results about bitcoin network

how to run

python bitcoinTopologySimulation/src/main.py

some explanation

kernel code in bitcoinTopologySimulation/src/main.py and bitcoinTopologySimulation/src/simulation.py

change parameters:

number of nodes in the network: in main.py

death_rate, reconnection rate, Pa in the thesis, etc.: in simulation.py

the type of result you want to get: about 133 line in simulation.py(change the function, which can be seen at the bottom of this file)

About

An bitcoin simulation code, aimed at understanding the topology of bitcoin network and the information propogation


Languages

Language:Python 97.4%Language:C 0.9%Language:C++ 0.9%Language:TeX 0.4%Language:JavaScript 0.1%Language:Jupyter Notebook 0.1%Language:Fortran 0.0%Language:CSS 0.0%Language:HTML 0.0%Language:MATLAB 0.0%Language:Shell 0.0%Language:PowerShell 0.0%Language:Roff 0.0%