Consensus

The process blockchain nodes use to agree on valid transactions and the correct order of blocks, keeping a shared ledger without a central party.

Consensus is the process that lets a decentralized blockchain network agree on which transactions are valid and in what order they are recorded. Because there is no central administrator, consensus is the “digital agreement” that keeps thousands of independent computers, called nodes, synchronized around a single shared history.

How consensus works on a blockchain

When users broadcast transactions, nodes verify them according to the network’s rules, such as valid signatures and sufficient balances. The network then needs a way to decide which verified transactions become part of the next block and which version of the chain is the authoritative one if different blocks are proposed at the same time. A consensus algorithm provides that decision-making procedure and a way to recover from temporary disagreement, for example during network delays or when two competing blocks appear.

In many systems, nodes follow a rule like “the chain with the most accumulated work or stake is considered canonical,” which helps the network converge on one history even in the presence of latency. Finality, meaning when a transaction is considered irreversible in practice, depends on the specific consensus design and how it handles competing histories.

Common approaches and real-world context

Proof of Work, used by Bitcoin, relies on miners expending computation to propose blocks, making it costly to rewrite history. Proof of Stake selects validators based on staked collateral and uses economic penalties to discourage dishonest behavior. Other designs, including Byzantine Fault Tolerant style protocols, can provide faster agreement in some networks by coordinating among a defined set of validators.
Consensus matters because it is the foundation of blockchain security and coordination. It enables censorship resistance, prevents double-spending, and allows a decentralized network to operate reliably without trusting any single party.