Network and blocks
Orphan block (stale block)
An orphan or stale block is a valid block that ends up outside the main chain because a competing block won.
- Also called
- stale block
- Valid
- yes, it follows every rule
- On the main chain
- no
- Reward
- none on Bitcoin
- Chance grows with
- the delay in spreading a block
What it means in practice
When two miners find blocks at almost the same moment, nodes briefly disagree; the next block decides which chain continues. The losing block's reward disappears, which is one reason coinbase coins must wait 100 blocks before they can be spent. Fast block propagation keeps a pool's stale-block rate low.
How two blocks meet
A block needs time to travel. If a miner in one part of the world finds a block and another finds a different one a second later, both are honest. Nodes keep whichever they saw first and store the other. For a few minutes the network has two possible next pages.
The tie ends when somebody finds a block on top of one of them. That branch now holds more work, so every node moves to it. The block on the other branch becomes stale. Its transactions are not lost: most are already in the winning block, and the rest go back into the waiting queue.
Orphan or stale: the exact words
In the software an orphan block is one whose parent is unknown. A node that receives such a block asks for the missing parent before it can judge it. That happens for moments only.
A stale block has a known parent and simply lost the race. Miners and pool pages say orphan for both, and almost always they mean the second.
On a pool’s page the word sits beside a block in its list, often in gray or red. It tells you that the pool found a block and did not keep it.
Putting a number on the risk
The chance that another block is found during a delay is about the delay divided by the average block time. Example figures: a block takes 2 seconds to reach nearly all hashrate, and blocks come every 600 seconds. 2 ÷ 600 = 0.33%. Cut the delay to half a second and it is 0.08%.
This is why nodes use compact block messages. They send short codes for the transactions the other side already has, so a block of more than a megabyte crosses in a few kilobytes. Fast relay networks between pools shorten the path further.
Who carries the loss
It depends on how your pool pays. With a pay-per-share scheme the pool pays for your shares whether its blocks survive or not, so an orphan is the pool’s cost. With PPLNS or solo mining a lost block is a block nobody is paid for.
Other coins settle it differently. Ethereum Classic pays a small reward for some late blocks, which it calls uncles. Kaspa keeps blocks that appear side by side and orders them afterward. On Bitcoin and Litecoin there is one winner.
Worked example
A pool that finds 200 blocks a month and loses 1 of them to a competing chain has a stale-block rate of 1 / 200 = 0.5%.
Example figures, not live data.
Common mistakes
- Taking an orphan for a fault of your machine: the shares were fine and the race was lost elsewhere.
- Treating a payment with one confirmation as final when large sums are involved.
- Mixing up a stale block, which belongs to the whole network, with a stale share, which is between you and your pool.
Common questions
Can a transaction disappear in an orphan block?
It normally returns to the waiting queue and is confirmed in a later block. Only the reward of the lost block itself vanishes.
Where can I see orphan blocks?
Pool block lists mark them, and some block explorers keep a page of stale branches. A node you run yourself lists the ones it has seen.
How deep can a losing branch be?
One block is the usual case. Two is rare, and each further block makes it many times rarer, which is why people wait for several confirmations.