Blockchain Consensus Mechanisms
Blockchain Consensus Mechanisms
Mechanisms/Algorithms
Outline
A consensus algorithm is a process in computer science used to achieve agreement on a single data
value among distributed processes or systems
Consensus mechanisms are fundamental protocols in blockchain technology that ensure agreement
among network participants on the validity of transactions.
They play a crucial role in maintaining security by preventing fraud and ensuring that all transactions
are accurately recorded on the blockchain.
consensus mechanisms support decentralization, as they eliminate the need for a central authority,
allowing for a distributed network of nodes to validate transactions.
This fosters trust and consistency within the blockchain, enabling reliable and tamper-proof data
management.
Applications of consensus algorithms in blockchain
● Delegates are responsible for maintaining the network and can be replaced
through voting if they fail to act honestly, promoting accountability within the
system.
PBFT allows a network to reach PoA relies on a set of pre-approved In PoB, participants destroy a portion of
consensus even with malicious nodes validators, ensuring fast transactions in cryptocurrency to validate transactions,
present, relying on majority voting permissioned blockchains. It is often used demonstrating their commitment to the
among honest nodes. It is primarily used in enterprise settings. network. An example is Slimcoin.
in private blockchains.
Proof of Capacity (PoC) Proof of Elapsed Time (PoET) Delegated Proof of Stake (DPoS)
PoC allows miners to use allocated PoET utilizes a randomized waiting DPoS enables stakeholders to elect
storage space for mining, providing an period to select validators for block delegates for transaction validation,
energy-efficient alternative to traditional creation, promoting fairness and energy enhancing efficiency and scalability. EOS
mining. Burstcoin is a notable example. efficiency. Hyperledger Sawtooth is a prominent example of this
implements this mechanism. mechanism.
Consensus
● Proof of Work (PoW) provides high security and ● Proof of Work (PoW) consumes a considerable
decentralization, making it difficult to attack the amount of energy, leading to environmental
network. concerns.
● Proof of Stake (PoS) significantly reduces energy ● Proof of Stake (PoS) can lead to centralization if
consumption compared to PoW, enhancing a few participants hold a large amount of coins.
sustainability.
● Delegated Proof of Stake (DPoS) can be
● Delegated Proof of Stake (DPoS) improves vulnerable to collusion among delegates,
transaction speeds and scalability by reducing undermining its integrity.
the number of validators needed for consensus.
● Practical Byzantine Fault Tolerance (PBFT) can
● Practical Byzantine Fault Tolerance (PBFT) become inefficient as the number of nodes
ensures high throughput and reliability in private increases, leading to higher communication
blockchains with trusted nodes. overhead.
● Proof of Authority (PoA) allows for fast ● Proof of Authority (PoA) sacrifices
transactions and is suitable for applications decentralization for speed, making it less
requiring high trust and minimal latency. suitable for public blockchains.
Summary Table of Consensus Mechanisms
Consensus Mechanism Description Example of Blockchain Ecosystem
Proof of Work (PoW) Computational puzzle-solving Bitcoin https://bitcoin.org
Proof of Stake (PoS) Stake-based validation Ethereum 2.0 https://ethereum.org
Hyperledger Fabric
Practical Byzantine Fault Tolerance
Voting-based consensus https://www.hyperledger.org/use/fabr
(PBFT)
ic
Proof of Authority (PoA) Authority-based validation VeChain https://www.vechain.org
Slimcoin https://github.com/slimcoin-
Proof of Burn (PoB) Burn coins for validation rights
project.
Proof of Capacity (PoC) Storage-based validation Burstcoin https://www.burst-coin.org
Hyperledger Sawtooth
Proof of Elapsed Time (PoET) Randomized wait for block validation https://www.hyperledger.org/use/saw
tooth
References
References