- clone this repo
- set up your environment first
go run main.go
- open a new terminal window and
nc localhost 9000
- input a token amount to set stake
- wait a few seconds to see which of the two terminals won
- open as many terminal windows as you like and
nc localhost 9000
felixfelicis555 / alternate-mining-consensus Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bordia98/alternate-mining-consensus
It is demonstration of consensus algorithm used for mining blocks written in go-lang
License: MIT License