Tobias Jung, Product Owner, Blockchain Solution Center
To understand why the consensus mechanism in a blockchain is so important, the term „distributed ledger“ must first be clarified. Distributed ledgers emerged together with blockchains. These are tamper-proof databases that are stored redundantly in the form of a distributed ledger on all computers in a network. All transactions are backed up chronologically in this ledger. The distribution of this ledger across computers in the network is one reason why blockchain technology is considered secure, transparent, and immutable.
The consensus mechanism is used to verify (transaction) data uploaded to the blockchain in the form of new blocks. The verification requires the consent of the majority of all participants in the network, in other words, a consensus among the participants.
Proof of Work
The Proof of Work (PoW) consensus mechanism is used by the first cryptocurrency Bitcoin. The Consensus is achieved through the solving of cryptographic puzzles by so-called miners. The first miner who finds out the solution sends it to the network, where the other miners check the solution. Once the majority agrees with the solution, the new block can be queued. The miners‘ work is compensated in the form of bitcoin. The share of computing capacity in the entire network is decisive for the probability of successfully „mining“ a block. Crypto mining is heavily criticized in various jurisdictions – among other things because of the high energy consumption required for mining.
Proof of Work | ||
---|---|---|
Security |
|
|
Speed |
|
|
Costs |
|
|
Energy Efficiency |
|
|
Specific Benefits |
|
|
Specific Diasadvantages |
|
Proof of Stake
To achieve consensus in the network by means of the Proof of Stake (PoS) mechanism, the stake of the individual participants is crucial. The stake of a participant is the number of tokens that a validator holds in the network. The larger the proportion of „staked“ tokens, the higher the probability that this participant will be selected to validate the next block.
A significant difference to the proof of work mechanism is that the validator is picked by a random algorithm. The staked tokens can be thought of as winning tickets: The more tickets a validator has, the more likely it is to be chosen.
This consensus mechanism also rewards work in the form of tokens from the network. If the validator misbehaves, he is blasted („punished“) and consequently loses his stake.
Proof of Stake | ||
---|---|---|
Security |
|
|
Speed |
|
|
Costs |
|
|
Energy Efficiency |
|
|
Specific Benefits |
|
|
Specific Diasadvantages |
|
Delegated Proof of Stake
This consensus mechanism is a further development of Proof of Stake.
With the classic Proof of Stake, anyone who holds tokens in their wallet can be considered as a validator. With Delegated Proof of Stake, the possession of a token corresponds to a voting right. The more tokens, the more the voting right weighs. Only a proportion of the participants receive the reward for their work in the form of network tokens. These additional rules in the selection process are intended to make the consensus mechanism more democratic.
Two roles are distinguished: validators and delegators. The validators take on the task of validating new blocks. In addition to the financial power of the witness (i.e., the share of the stake), what counts more is the trustworthy execution of the work. The delegators verify the security and correctness of the network.
However, one problem with this electoral system is participation: if there are many wallets with only a small number of tokens, it is difficult to carry out a representative vote unless a high voter turnout can be detected. Since there are no specific access restrictions in DPoS, there also exist many participants who do not have the technical knowledge or time to participate in the consensus. These participants can give their votes to a trusted validator and are also rewarded proportionally in the form of rewards.
Delegated Proof of Stake | ||
---|---|---|
Security |
|
|
Speed |
|
|
Costs |
|
|
Energy Efficiency |
|
|
Specific Benefits |
|
|
Specific Diasadvantages |
|
Conclusion
In addition to the consensus mechanisms mentioned above, there are also many more in the market, but PoW, PoS, and DPoS are the most represented. The use and proliferation of PoS and DPoS in particular is likely to gain in importance in the coming years as criticism of PoW increases. The different consensus mechanisms each give a solution approach to make the underlying blockchain decentralized, secure and scalable.
Telekom MMS operates as an infrastructure provider for various public blockchain networks, supporting their decentralization, stability and security. The Deutsche Telekom subsidiary currently provides validators for twelve networks, including Ethereum, Polkadot, Celo, Flow, Q, Polygon, Energy Web, The Graph, Fetch.ai, Aleph Zero und MultiversX.
For more information on Chainlink Labs, see these articles:
> Telekom MMS becomes Chainlink node operator
> Smart contracts made reliable and useful with real-world data
More information about our service you can find here
Contact person:
Tobias Jung, Product Owner Blockchain Solution Center
Tobias Jung is a Product Owner in the Staking area, at the Blockchain Solution Center of Telekom MMS, a subsidiary of Deutsche Telekom. There, he builds infrastructure for public blockchain networks. Previously, he worked in various tech software startups. Tobias graduated from Lund University with an MSC in Business Administration. He has been involved in the crypto space for years.
Ob Digitalisierungsexpert*in, Werkstudent*in oder Schülerpraktikant*in – Hier berichten unsere Gastautoren aus ihrem Alltag.