Overview
Consensus is the process by which blockchain network participants agree on a single, valid state of the ledger. Because blockchains run on many independent computers with no central authority, they need a mechanism to decide which blocks are canonical and to prevent double spending. Consensus mechanisms provide this agreement while tolerating some number of faulty or malicious participants.
How It Works
Every node maintains a copy of the ledger and applies the same rules to proposed blocks. A consensus mechanism determines who is allowed to propose a block and how other nodes validate it. The two dominant families are proof of work, where computational effort grants the right to propose, and proof of stake, where staked capital selects proposers. Nodes that follow the majority chain converge on the same history, and reorganizing the chain requires overwhelming resources or stake.
Why It Matters
Consensus is what makes a decentralized ledger trustworthy without intermediaries. Its design trade-offs determine a blockchain's security, throughput, and energy use, and they directly influence user-facing properties such as finality time and transaction cost. Understanding consensus is therefore foundational to evaluating any blockchain.
Related Concepts
Consensus manifests in specific mechanisms like Proof of Work and Proof of Stake, with penalties such as Slashing enforcing honest behavior. Miners and Validators are the participants who carry out consensus rules.