Prosperity Builders

What Is Consensus? How a Town Meeting Agrees on the Record

Use a town-meeting analogy to understand blockchain consensus, proof of work and stake, finality, forks, 51% concerns and what agreement cannot guarantee.

Consensus is the method a network uses so that thousands of independent computers settle on one shared record without a central referee. It can make everyone agree on what was recorded. It cannot make what was recorded true.

The Short Answer

A blockchain is kept by many computers that do not trust each other by default. Each holds a copy of the record. Someone has to decide which new entries are added and in what order, or the copies would drift apart. A consensus mechanism is the set of rules, incentives and checks that lets the network settle on one version. Ethereum's documentation describes consensus as general agreement, and explains that a consensus mechanism also provides a way to pick one chain when competing versions appear.

The Town Meeting Analogy

Painted illustration of neighbors gathered around a long table checking one shared sheet before a clerk signs.

Picture a town meeting where residents must agree on tonight's attendance sheet before it is signed. Anyone can propose a name to add. Neighbors look at the sheet, check each entry against what they saw, and only when enough people say it matches does the clerk sign. Once it is signed and copied, changing it would mean convincing most of the room again.

That picture captures the core idea: many people check the same record, and a rule decides when enough of them agree. Here is where it breaks. In a town hall you can see who is in the room, but a network often cannot tell whether a thousand participants are a thousand people or one person pretending. A town also has a clerk and a law to appeal to, while many blockchains have neither. And a meeting can only confirm that people agree on what happened in the room. It cannot confirm facts that happened somewhere else.

Why Agreement Is Hard

Computers on a network may receive messages in different orders, go offline, or act dishonestly. Some may try to submit two conflicting records. Without a rule, two groups could each believe a different history. Ethereum's documentation explains that a consensus mechanism selects who proposes and validates blocks, uses a fork-choice rule to pick one chain when several compete, and relies on mechanisms that deter fake participants, which are often called sybil resistance.

Proof of Work and Proof of Stake, in Plain Terms

Diagram comparing two ways a network decides who adds the next block. Proof of work spends computing effort that is hard to do and easy to check, uses heavy energy, and Ethereum moved away from it in 2022. Proof of stake locks up a deposit that is lost if the validator is dishonest, uses less energy, and is younger and less battle-tested.

These are two common ways of deciding who gets to add the next page.

Proof of work asks participants to spend computing effort. According to Ethereum's proof-of-work page, miners competed to find a number that met a difficulty target, and that effort was hard to produce but easy for others to verify. The cost of doing the work also deters cheating. The same page notes that this required heavy energy use, and that Ethereum moved away from proof of work in 2022.

Proof of stake asks participants to lock up value as a promise of good behavior. Ethereum's proof-of-stake page explains that validators put up a deposit and can lose some or all of it for dishonest behavior, while those who perform their duties are rewarded. It reports lower energy use, a lower hardware barrier, and higher economic cost of attacks, and also lists disadvantages: it is younger and less battle-tested than proof of work, and more complex to implement.

Neither is simply better. Each trades off energy, hardware, complexity, concentration of influence and track record in different ways, and many other designs exist.

Finality: When Is It Really Done?

Finality means a record is effectively impossible to reverse. It comes in different strengths. In proof of work, two valid blocks can appear at nearly the same time, creating a temporary fork, and eventually one branch is accepted. Ethereum's page says confidence grows with each block added on top, so finality is a matter of probability and not certainty. In Ethereum's proof-of-stake system, the proof-of-stake page explains that a block becomes finalized through a two-step process involving votes from two-thirds of staked value, and reverting it would require destroying at least one-third of the total stake.

Different networks define finality differently. Waiting for more confirmations is one way people manage that gap, and a service may use its own rule for when it treats a transfer as complete.

Forks

Painted illustration of a country road splitting in two with neighbors walking each path.

A fork is when the record splits into two paths. Some forks are short and temporary, resolved by the fork-choice rule. Others are deliberate changes to the rules. A fork can also be a response to a serious problem. Ethereum's page on attack and defense says the community has coordinated emergency responses to dishonest or erroneous chains twice. It also says such responses can disrupt applications and that some users may oppose a fork. Social coordination is part of how some networks handle extreme cases, which means consensus is not only mathematics.

The 51% Concern

If one party controls enough of the voting power, it may be able to steer the record. In proof of work, that power is computing effort. In proof of stake, it is staked value. The attack-and-defense page describes how different levels of control enable different harms. Above half, an attacker could control fork choice, enabling short reorganizations, censorship and extraction of value from ordering. Smaller shares can still cause trouble, for instance by delaying finality.

The page describes defenses, including the cost of acquiring that stake and a possible social response, but it does not claim any network is immune. The practical lesson is that how concentrated control is matters, and so does the cost of gaining it.

What Consensus Does Not Guarantee

Consensus gives agreement about the order and content of the record. It does not guarantee that the content is true. If someone enters a wrong measurement, a false claim or a mistaken instruction, the network can faithfully agree to record it. Ethereum's oracle documentation says that data from an oracle must be correct for a smart contract to execute correctly. Consensus also does not guarantee fairness, legal validity, privacy, or that a particular application is well designed. To see how code relies on trustworthy inputs, read What Is a Smart Contract?. To see who runs the machines that perform the checking, read Who Checks the Blockchain? Validators, Nodes and Digital Trust.

A Hypothetical Prosperity Builders Learning Exercise

This exercise is hypothetical, uses fictional game credits, and does not describe a real network or offering.

Imagine a practice town of 9 pretend residents who keep a shared attendance sheet. A new entry is accepted when more than two-thirds agree. Two-thirds of 9 is 6, so 7 or more must agree.

  1. Resident A proposes to add an entry. Seven residents check it and agree. It is signed.
  2. Resident B proposes a conflicting entry at the same moment. Only 4 agree. Not enough, so it waits.
  3. Now imagine 5 of the 9 residents quietly work together. Can they sign alone? What would they still be unable to do under the two-thirds rule? What if the rule were simple majority instead?
  4. Finally, suppose the entry says a pretend bridge was finished when it was not. All 7 residents agree on the paper. Is the record true?

The numbers are fictional and for arithmetic only. The point is to see both what agreement protects and what it leaves open.

A Practical Checklist

Prosperity Builders' educational examples use fictional game credits, and this guide does not recommend using or buying anything.

Questions to Take Into the Next Guide

Sources and Further Reading

Try the Ownership CalculatorExplore Another Idea