Stale Share
A stale share is a share that is submitted by a miner after the mining pool has already found a valid solution for the current block. It becomes invalid because the block has already been confirmed and added to the blockchain. Stale shares do not contribute to the successful mining of the block.
Stale Share Explained in Simple Terms
A stale share happens when a miner finds a valid share after the pool has already solved the block. In mining pools, multiple miners are working on the same block simultaneously. When one miner finds the correct solution, the pool stops the mining process for that block and starts working on the next one.
If a miner submits a share for the previous block after it has already been solved, that share is considered "stale." While the share itself is valid in the sense that it is a correct partial solution, it is no longer useful because the block has already been confirmed.
Stale shares are essentially outdated contributions that don’t add value to the pool’s mining efforts for the current block. Miners who submit stale shares do not receive rewards for those shares.
How Stale Share Works
When a mining pool is working on solving a block, multiple miners are trying to find partial solutions by adjusting values like the nonce and generating hashes. When one miner successfully solves the block, the pool immediately starts submitting the block to the network, and the block is confirmed.
At this point, the pool stops mining on that block and moves on to the next one. If another miner in the pool submits a share for the solved block, that share is considered stale because the block has already been completed and added to the blockchain.
Stale shares typically occur when:
A miner is slightly behind the rest of the pool (e.g., due to network latency or hardware performance).
The miner submits a share for a block that has already been confirmed.
The mining pool switches to a new block before all shares for the previous block have been submitted.
In mining pools, the pool operator typically tracks stale shares and subtracts them from the miner's total contribution for reward distribution.
Example of Stale Share in Practice
Imagine a mining pool is working on solving a Bitcoin block. One miner is fast and quickly finds the correct solution, submitting it to the network. The pool then starts working on the next block.
Another miner, who is slightly behind the pool due to slower hardware or network latency, submits a valid share for the first block. However, by the time this share is submitted, the block has already been solved and added to the blockchain.
Since the block is already confirmed, the miner’s share is considered stale and is not counted towards their total contribution. The miner does not receive any reward for the stale share, even though it was a valid partial solution.