yangl1996 / prism-rust

Rust implementation of the Prism consensus protocol
MIT License
100 stars 19 forks source link

unable to understand Readme file #109

Closed ghost closed 3 years ago

ghost commented 3 years ago

Inside the section "Experimental Flow" I am unable to understand the 2nd command: python3 scripts/generate_topo.py <NUM NODES> randreg <DEGREE> > randreg.json

Please help me figure out <NUM NODES> randreg <DEGREE> in this command.

yangl1996 commented 3 years ago

randreg means random regular (graph). It should be kept as-is in the command.

Num nodes is the number of nodes; degree is the degree of each node in the graph. Please refer to Wikipedia page of random regular graphs.