21Relay
Advanced curriculum
Lesson 116 minReviewed July 2026

Bitcoin Consensus

Bitcoin reaches agreement without a central coordinator because every full node independently applies the same validity rules to the data it receives.

Learning outcomes

By the end of this lesson, you should be able to

  • Consensus is independent verification, not node voting.
  • Invalid blocks are rejected regardless of who mined or relayed them.
  • The active chain has the most accumulated proof of work.
  • Temporary competing tips can resolve without changing the rules.
1

Independent verification

Consensus is not a vote between nodes. Each full node checks transactions and blocks for itself, rejecting anything that violates the rules even when many peers relay it.

This makes a node an enforcement point: trust comes from reproducible validation rather than the identity or reputation of a sender.

2

Selecting a chain

When more than one valid chain tip exists, nodes follow the valid chain with the greatest accumulated proof of work. Block count alone is not the deciding measurement.

A node changes its active tip only after validating the competing branch and determining that it has more chainwork.

3

Agreement emerges

Shared rules, proof of work and peer-to-peer relay cause independently operated nodes to converge on one history. Temporary disagreement can occur, but invalid history never becomes valid through popularity.

Visual recap

How a node reaches its tip

Every stage is checked locally before the node adopts or relays new history.

01

Receive data

02

Validate rules

03

Compare chainwork

04

Update active tip

05

Relay valid data

Key vocabulary

Terms worth knowing

Consensus rule
A validity condition that all compatible full nodes independently enforce.
Chainwork
A measure of accumulated proof of work used when selecting among valid competing chains.
Economic node
A validating node used by an actor that receives, prices or settles meaningful economic activity.

Worked example

A miner creates an invalid high-work block

A miner finds proof of work for a block that creates more subsidy than the consensus rules permit.

  1. 1Peers receive the block
  2. 2Each full node checks the coinbase value
  3. 3Compatible nodes reject the block
  4. 4Its proof of work does not make invalid state acceptable
  5. 5Miners must build on a valid tip to earn spendable rewards

Proof of work orders valid history; it does not override transaction or block validity rules.

Common misconceptions

What learners often get wrong

Misconception

Consensus means most nodes vote for the rules.

More accurate

Nodes do not tally identities. Each operator chooses software and independently accepts or rejects data.

Misconception

The longest chain by block count always wins.

More accurate

Nodes compare accumulated proof of work among chains that are valid under their rules.

Try it yourself

Analyse three competing tips.

  • Reject any branch containing an invalid block
  • Compare chainwork of the remaining branches
  • Select the valid branch with greatest work
  • Explain what happens to transactions from a disconnected block

Use fictional values and public information only. Never enter seed words, private keys or other wallet secrets into a learning exercise.

Key takeaways

  • Consensus is independent verification, not node voting.
  • Invalid blocks are rejected regardless of who mined or relayed them.
  • The active chain has the most accumulated proof of work.
  • Temporary competing tips can resolve without changing the rules.

Lesson recap

Check what you learned

Reveal each model answer, then honestly mark whether you understood it or need another review.

1 of 3

Recall

Can a majority of peers persuade your full node to accept an invalid block?

References

Further reading

Lesson progress

Loading progress...

Rate this lesson

Was this lesson helpful?

No name or financial information is collected.

Found inaccurate or outdated information? Report a correction