My implementation for avalanche or snowball consensus following this blog (or this whitepaper)
UI for this repo is snowball-ui, just open the index.html file on browser
docker-compose build
docker-compose --compatibility up
Change the cluster configuration in docker-compose.yml file for your reference :)
If replicas is big, B
, timeout_loop
, timeout_query
should be increased, i.e. change these parameters: -K=7 -A=4 -B=50 -timeout_loop=60 -timeout_query=5