上QQ阅读APP看书,第一时间看更新
Methods of reaching consensus
In a blockchain, or in any distributed database, there are four common algorithms to reach consensus:
- Proof-of-work (PoW)
- Practical Byzantine fault tolerance (PBFT)
- Proof-of-stake (PoS)
- Delegated proof-of-stake (DPoS)
A good consensus scheme should solve the following questions:
- Who is allowed to append blocks to the chain?
- When do updates happen on the blockchain?
- What transactions should be added to the block?
- How can you permit secure software changes to the blockchain?
- How can attacks or inconsistencies be solved?