In this track: Your first steps
beginner · 4 MIN READ

Why do computers need to agree?

The order of valid updates can change the answer.

LET’S PICTURE IT

If two people try to borrow the last library book at the same time, the record needs one agreed order for their requests.

SEE IT FOR YOURSELF
Receive, check and share across independent nodesStep 1 / 4
Receive, check and share across independent nodesIncoming dataCandidate instructionNot yet trustedNode AReceives the messageApplies local checksEach participant has a local view of incoming informationNode A checksAuthorizationProtocol validityValid candidateEligible for next stepsNot a finality promiseApplication safety is a different claim from protocol validityNode AShares checked dataNode BChecks for itselfNode CChecks for itselfNode ARules checked✓Node BRules checked✓Node CRules checked✓Agreement on history adds the consensus mechanism

A node receives a proposed transaction or block-related message. Receipt is not the same as accepting its claims.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

Messages arrive at different times

Computers communicate over a network. One node may hear Maya’s transaction before Leo’s, while another hears them in the opposite order. An internet connection can be slow or fail. Shared software must cope with this imperfect communication.

Order can matter

Suppose an account has five tokens and tries to send those same five tokens to two people. Each request might look possible when viewed alone. Both cannot spend the same balance. The system needs an accepted order so everyone derives the same state.

Validity and agreement differ

Validity asks “does this update follow the rules?” Consensus asks which valid history participants follow. Nodes check validity themselves. On Ethereum, proof of stake helps coordinate the history.

There is no magic instant

A newly received message is not immediately final everywhere. Blocks can arrive late, competing heads can exist briefly, and agreement develops over time. The transaction lesson separates sending, inclusion and finality so these stages stay clear.

QUICK CHECK · NO PRESSURE

Why can transaction ordering matter?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.