Consensus is a mechanism by which blockchain network participants agree on the current state of the distributed ledger without relying on a central authority.
Without consensus, a blockchain is just a database. Consensus mechanisms are what make blockchains trustless — they ensure that all participants agree on which transactions are valid and in what order they occurred, even when some participants are malicious or unreliable.
Imagine 10,000 computers around the world, each keeping a copy of a financial ledger. When Alice sends 1 BTC to Bob, all 10,000 copies need to update simultaneously and identically. Without consensus, different nodes could have different versions of the truth — double-spending would be trivial. Consensus algorithms solve this coordination problem, known in computer science as the Byzantine Generals Problem.
Proof of Work (PoW) — used by Bitcoin. Miners compete to solve cryptographic puzzles. The first to find the solution gets to add the next block and earn rewards. PoW is extremely secure but energy-intensive — Bitcoin's annual energy consumption rivals that of medium-sized countries.
Proof of Stake (PoS) — used by Ethereum since The Merge (2022). Validators lock up cryptocurrency as collateral (staking). The protocol selects validators to propose blocks based on stake size. PoS uses 99.9% less energy than PoW while maintaining comparable security.
Delegated Proof of Stake (DPoS) — used by EOS, Tron. Token holders vote for a limited number of delegates who validate transactions. Faster than PoS but more centralized — typically 21-100 validators compared to thousands in PoW/PoS.
Practical Byzantine Fault Tolerance (PBFT) — used by Hyperledger, some private blockchains. Nodes communicate directly to reach consensus. Very fast finality but doesn't scale well beyond a few hundred nodes.
The industry is moving toward PoS and its variants. Ethereum's successful transition proved that large networks can migrate. New approaches like Proof of History (Solana), Proof of Authority, and hybrid mechanisms continue to emerge, each optimizing for different trade-offs between security, speed, and decentralization.