Reviewed Aug 2026
DE
BA-08 · LESSON 05

Chain selection and reorgs

KEY DEFINITIONS

Terms used in this lesson

UTXO
Unspent transaction output: one discrete chunk of bitcoin that can be used as a transaction input.
Proof-of-work target
The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.

Nodes follow the valid chain with the most accumulated work and may disconnect blocks during reorganization.

35 min Difficulty 2/5 Not started

Loading lesson visuals...

01

Learn the idea

Chain selection compares valid branches by accumulated proof of work. A reorganization, or reorg, occurs when a node disconnects blocks from its current branch and connects a valid branch with more work. Height alone is insufficient because different targets can represent different work.

GUIDED EXPLANATION1/5 ideas inspected
1

Maintain competing valid headers

A node can know side branches while one valid branch is active. Invalid branches never compete by work.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionNodes always choose the branch with the most blocks.

They choose the valid branch with the most accumulated work. A shorter branch can carry more work when targets differ.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.