GoChain is a study project aimed at learning decentralised networking principles. It uses a simplified Proof of Work(PoW) consensus mechanism and a gossip protocol to dynamically discover other nodes.
To run the whole chain:
docker compose up
To restart the chain:
docker compose restart
To shutdown the chain:
docker compose down
or if you want to destroy the container and images also:
docker compose down --rmi all -v
To run tests:
go test GoChain/block