CBC Casper simulator & visualizer
Simulator of chain-based consensus protocols to investigate the trade-offs of propeties by changing parameters. The target properties are:
Parameters (or design choices) of protocols are:
CBC Simulator depends on Graphviz which is Graph Visualization Software.
You can install Graphviz via Homebrew in macOS.
brew install graphviz
pip install -r requirements.txt
python main.py
This will generate output.yml
by default.
You can specify your simulation parameters file and output file via these options.
python main.py -i cbc_casper_simulator/examples/intput.yml -o output.yml
For more details, see spec
directory.
pip install -r requirements-test.txt -r requirements.txt
pytest