Ελληνικά

What is a consensus mechanism?

In short

A consensus mechanism is the set of rules by which the computers of a blockchain agree on the valid transaction history, without needing a central operator.

By the Cryptonomy editorial team · Updated · 2 min read

Think of a shared payments ledger that every neighbor keeps a copy of: how does everyone agree on which entry goes next, without an administrator who has the final say? On a blockchain, the network’s computers, i.e. the nodes, need specific rules to keep compatible copies, even when some of them lag behind or try to cheat the others.

A transaction may be correctly signed, but that isn’t enough. If someone tries to spend the same coins twice, the network has to decide which transaction to accept. The consensus mechanism determines how new blocks are proposed, how they are accepted and how competing versions of the history are resolved. The order of transactions matters, not just the validity of each one on its own.

In Proof of Work, participants in mining use computing power to compete to add a block. Nodes independently check that it follows the rules. In Proof of Stake, validators lock up coins through staking and take part in proposing and confirming blocks. The exact procedures and possible penalties vary by network.

Why it matters

For anyone who transfers or holds crypto, consensus affects the security of the history and when a payment is considered final. It also affects energy use and the requirements for taking part in securing the network. On its own, however, it doesn’t determine speed or fees: those also depend on other design choices and on how the blockchain is used.

We find it more useful to ask who can participate and how concentrated the power is, rather than stopping at the “Proof of Work” or “Proof of Stake” label. Two networks in the same category can have very different security assumptions.

What to watch out for

Consensus doesn’t mean everyone votes on every transaction, nor that they decide what a coin’s price will be. It’s also not the same as governance, i.e. the process for changing the rules. No mechanism rules out every attack or outage. And a secure blockchain doesn’t guarantee that every app or token on it is secure.