Skip to main content

Consensus Mechanism

A Consensus mechanism is a fault-tolerant mechanism that is used in computer and blockchain systems to achieve the necessary agreement on a single data value or a single state of the network among distributed processes or multi-agent systems, such as with cryptocurrencies.

Types of Consensus Mechanism

  1. PoW: Proof of Work
    Proof of work describes a system that requires a not-insignificant but feasible amount of effort in order to deter dos(denial-of-service) attacks and other malicious attacks. It requires to solve a computational challenging puzzle in order to create new blocks in Blockchain.

  2. PoS: Proof of Stake
    Proof-of-Stake mechanism achieve consensus by requiring users to stake an amount of their tokens so as to have a chance of being selected to validate blocks of transactions, and get rewarded for doing so. Priority is given to miners who have purchased the most stake in the blockchain system.

  3. PoA: Proof of Authority

Proof of Authority (PoA) is a reputation-based consensus algorithm that introduces a practical and efficient solution for blockchain networks (especially the private ones).

  1. DPoS: Delegated Proof of Stake
    This form of consensus mirrors the election of members in governing bodies. Witnesses, those who validate transactions, are elected.

  2. PoSpace: Proof of Space
    This kind of consensus mechanism is useful in decentralized file storage applications like storj.io, filecoin, where nodes prove they have legitimate capacity in their hardware. Sometimes also referred as PoStorage or PoCapacity.

  3. PoET: Proof of Elapsed Time
    A better alternative to PoW, consuming lesser computational resources. Each participating node needs to wait for a random amount of time and very first node to wake up from sleep gets a chance to create new block, which is then propagated through network. Requires Trusted Execution Environments ( TEE ) like Intel SGX, which are isolated part of memory, can only be accessed using certain set of instructions.

📜Resources

📄 Byzantine Fault Tolerance
📄 Type of Consensus Mechanisms
📄 Review of Blockchain Consensus Mechanisms
🎧 Overview and History of Consensus System Development
📗 Understanding Distributed Consensus
📚 Byzantine Generals Problem