Skip to content
BENIBIX Learn

Consensus Mechanism

Development⛓️ Blockchain & Web3Consensus

Also known as Consensus Algorithm, Blockchain Consensus

How the computers on a chain all agree on the next block. Cheats lose out.

Think of it like

It is like the rule a class uses to pick one answer. Then all the kids stop and agree.

Example

Bitcoin agrees by proof of work, where computers race to solve a puzzle. Ethereum has agreed by proof of stake since September 15, 2022.

Why it matters

Without it, one person could spend the same coin twice. That is called the double-spend problem.

Definition

A consensus mechanism is the rule a blockchain uses to agree on the next block. Many computers each hold a copy, and they may hear about payments in a different order. The rule picks who may add the next block and how the rest check it. Cheating is made costly, so honest work pays better. Proof of work and proof of stake are the two best known rules.
Two answers to one question: who adds the next block?

Common mistake

Thinking a vote of users decides. The say comes from computers that put up work or money, not from people with accounts.

Key takeaways

  1. 1
    One history. Everyone ends with the same chain.
  2. 2
    Costly cheating. Lying wastes work or money.
  3. 3
    Open checking. Any computer can check a block.