Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.14 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.14 KB

Implement a simple blockchain use dpos algorithm

GoDoc

Architecture Design

  • Create a P2P Conn-pool
  • BlockChain Generate
  • Node Manage And Vote
  • Pick Node
  • Write Block On Blockchain

Build

👏 go build -o build/dpos main/dpos.go

RUN

git clone [email protected]:csunny/dpos.git

cd dpos    
go build main/dpos.go

connect multi peer

./dpos new --port 3000 --secio

Vote

./dpos vote -name QmaxEdbKW4x9mP2vX15zL9fyEsp9b9yV48zwtdrpYddfxe -v 30

Document

Doc

Licence

MIT