A consensus mechanism is an algorithm that participants in a blockchain network use to reach an agreement on the state of the blockchain ledger, including the order of transactions. Popular consensus algorithms include Proof-of-Work (PoW), Proof-of-Stake (PoS), and Delegated Proof-of-Stake (DPoS).