blockchain_consensus_algorithm
blockchain_consensus_algorithm copied to clipboard
代码实现五种区块链共识算法 The code implements five blockchain consensus algorithms
近期学习总结并代码实现的五大区块链共识算法,如果发现bug或者理解方面的错误请不吝指教 :)
POW(工作量证明)
https://github.com/corgi-kx/blockchain_consensus_algorithm/tree/master/pow
POS(权益证明)
https://github.com/corgi-kx/blockchain_consensus_algorithm/tree/master/pos
DPOS(股份授权证明)
https://github.com/corgi-kx/blockchain_consensus_algorithm/tree/master/dpos
PBFT(实用拜占庭)
https://github.com/corgi-kx/blockchain_consensus_algorithm/tree/master/pbft
RAFT
https://github.com/corgi-kx/blockchain_consensus_algorithm/tree/master/raft