From “Proof of Work” to “Delegated Proof of Stake”: what mode of governance to build trust in a shared ledger through a decentralized network?
A behind-the-scenes look at the Blockchain: zoom in on the concept of consensus in order to fully understand this key process operating at the heart of the governance mode of a distributed ledger .In this article we will explain the consensus of the different algorithms by answering a few questions.
Project realized as part of the Cybersecurity sector of Higher Institute of Informatics Mahdia, the first Tunisian computer science school
What is a consensus algorithms ?
By definition, a consensus algorithm is a computer process used to reach agreement on a single data value among distributed processes or systems. Consensus algorithms are designed to ensure reliability in a network involving multiple unreliable nodes.
What are the Main implementations of consensus algorithms ?
There are several implementations of consensus algorithms, each one has its advantages and its trade-offs Among the most used
-
Proof Of Work (POW):
-
Proof Of Stake (POS):
-
proof Of Authority (POA):
- Public (permissionless) or private (permissioned) nature of the desired platform.
- Performance objectives (transaction flow in particular)
- Energy consumption limit.
- Node network scalability and size requirements (miners, miners, replica nodes).
- Desired relationships between the different actors: users, validation nodes and developers.
- Level of decentralization and “philosophy” demanded by the sponsor or the user community.
- Security level and fault tolerance.
- etc.
Proof of Work, is the first decentralized Blockchain consensus algorithm that has emerged, it is used in several types of “Altcoins” cryptocurrency such as Bitcoin, Ethereum, LiteCoin, etc. This algorithm is data that can only be obtained by performing a task that consumes a lot of computing power and that once it has been obtained, it is easy to verify that it is indeed the result of this task . Software installed on miners’ computers and servers accesses their processing capacity to solve transaction-related algorithms. A block is therefore an encrypted proof of work created in a computationally intensive process. Although any party can submit a succession of blocks to the Blockchain, the amount of computing resources required for a dishonest party to create a false consensus is too large for it is worth it.
However, PoW certainly has its drawbacks, it takes high power consumption and low transaction throughput compared to other algorithms.
Proof of Stake is another type of consensus algorithms. This is a new concept used for the Peercoinen 2012 cryptocurrency. Other protocols have followed such as ShadowCash, BlackCoin, Nav Coin50 and Nxt. PoS selects the creator of a new block in a deterministic process, based on the number of coins they already own, also known as the wager. This is because there is no reward in this type of consensus algorithm, although minors, in this case called counterfeiters, only pay transaction fees. Among the significant advantages of this algorithm, we distinguish security, reduction of the risk of centralization and finally energy efficiency.
Proof of Authority is a consensus mechanism inspired by the Proof Of Work consensus algorithm. transactions and blocks are validated by approved accounts, called validators, which is based on the process of using the identities of network users to choose the best validator to verify and validate transactions.
Among its advantages, a reduced demand for computing power of the nodes, a transaction time significantly faster than that of networks based on PoW and PoS, and finally, the algorithm of the proof of authority offers a significant scalability and flexibility for the development and maintenance of decentralized applications.
What are the Difference Beetwen this consensus protocols ?
In the table below is presented a synthetic comparison of the consensus mechanisms discussed throughout this article. This comparison was made on the basis of all the issues related to the said mechanisms that we have gradually dealt with: Security, incentive, equipment, energy consumption, node identity , scalability, etc.
Conclusion :
In conclusion, when considering deploying a blockchain-type solution with a view to solving a concrete problem (business application, specific use case), it is imperative to take into account certain considerations, both functional and non-functional, before being able to ensure the relevance of a particular consensus mechanism:
Top comments (0)