Chain selection and reorgs
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.
Loading lesson visuals...
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.
Maintain competing valid headers
A node can know side branches while one valid branch is active. Invalid branches never compete by work.
Inspect every idea above to open it.
They choose the valid branch with the most accumulated work. A shorter branch can carry more work when targets differ.
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.