Block Withholding Attack
A pool member hides valid blocks it finds, so it collects shares while harming the pool's revenue.
Basically
A miner cheats the group they mine Bitcoin with. They send enough work to get paid but hide winning results, so the group loses its reward.
Key Takeaways
- A block withholding attack targets a mining pool from inside. The attacker submits valid shares to earn payouts but deliberately discards any share that qualifies as a full proof-of-work block, denying the pool its reward.
- Detection is extremely difficult because withheld shares look identical to normal shares, and natural mining variance masks the missing blocks. No protocol-level countermeasure has been deployed as of 2026.
- Pools using pay-per-share (PPS) payout schemes are most vulnerable. The operator absorbs all block-discovery risk and pays the attacker a guaranteed rate regardless of whether blocks are found.
What Is a Block Withholding Attack?
A block withholding attack (BWH) happens when a malicious miner joins a mining pool, does the pool's hashing work and submits partial proof-of-work shares to prove effort. When that miner finds a hash meeting the full network difficulty target, they discard the valid block instead of submitting it. The pool pays for the shares but never receives the block rewards those solutions would have earned.
Meni Rosenfeld first formally described the attack in his 2011 paper "Analysis of Bitcoin Pooled Mining Reward Systems". Rosenfeld identified two variants: sabotage, where the attacker discards every valid block purely to damage the pool, and lie-in-wait, where the attacker delays submission to maximise their proportional share of payout rounds. Both exploit the same fundamental asymmetry: a pool cannot distinguish between an unlucky miner and one who is withholding.
How It Works
A pool normally sends block templates to participants through the Stratum protocol, and participants generate hash attempts against them. A miner submits a hash meeting the pool's lower share-difficulty threshold as a "share" to prove they are working. Occasionally, a share also meets the full Bitcoin network difficulty and becomes a valid block, which the pool broadcasts before distributing the block reward proportionally among all contributors.
The attacker changes this process at one decision point. They submit ordinary shares but discard any share that also forms a valid block.
Valid blocks are extremely rare compared with shares, roughly 1 in thousands depending on the share-to-network difficulty ratio. The attacker therefore keeps nearly all their expected per-share earnings while the pool finds fewer blocks than its total hashrate should produce.
Why Detection Is Difficult
Withheld shares look exactly like normal shares, and natural mining variance hides the missing blocks. A pool also cannot tell an unlucky miner from one who is withholding valid blocks.
Simplified Example
Consider a pool with 100 miners, each contributing 1% of the pool's hashrate. Based on its total hashrate, the pool expects to find roughly 10 blocks per day.
The attacker earns nearly as much as an honest miner while the pool's total revenue drops. The loss is distributed across all honest participants.
Impact on Different Payout Schemes
The pool's reward distribution method significantly affects its vulnerability to block withholding. Each scheme changes who bears the loss.
Pay-Per-Share (PPS)
Under PPS, the pool operator pays a fixed amount per submitted share regardless of whether the pool finds blocks, absorbing all variance risk. A BWH attacker receives guaranteed payouts while the operator bears 100% of the loss from withheld blocks. A 2026 paper by Chen et al. proved that PPS mechanisms are not incentive-compatible: the optimal strategy is an "all-out attack" allocating the attacker's entire hashrate to the victim pool rather than splitting between solo and pool mining.
Proportional
Under proportional schemes, miners are paid only after a block is found, in proportion to their share of total submitted work in that round. Block withholding still works because the attacker receives a proportional cut of blocks found by honest miners. However, the attacker also loses potential revenue from their own withheld blocks, making the attack less profitable than under PPS.
PPLNS (Pay-Per-Last-N-Shares)
PPLNS bases rewards on the last N shares submitted before a block is found. This scheme discourages pool-hopping and reduces BWH profitability because withholding a valid block also reduces the attacker's own expected revenue more significantly. Academic literature suggests PPLNS keeps the attacker's impact smaller than proportional schemes, though it does not eliminate the attack entirely.
Block Withholding vs. Selfish Mining
Block withholding is often confused with selfish mining, but they are distinct strategies with different targets and mechanics. Block withholding sabotages a mining pool from inside, while selfish mining uses withheld blocks to gain an advantage over other miners on the wider network.
Hybrid variants exist as well. The Fork After Withholding (FAW) attack, described by Kwon et al. in 2017, combines elements of both: the attacker conditionally releases withheld blocks to create strategic forks rather than discarding them, yielding approximately 56% more reward than standard block withholding.
Proposed Mitigations
Researchers have proposed several countermeasures. None have been deployed at the protocol level.
Oblivious Shares
Rosenfeld originally proposed this approach in 2011. The pool constructs work templates so that only the pool, not the miner, can determine whether a submitted share also meets the full network difficulty, preventing the miner from identifying and selectively withholding blocks. However, this requires a Bitcoin consensus-level hard fork and increases block propagation latency, since the miner cannot independently recognise and propagate a block.
Two-Phase Proof of Work
This approach splits proof-of-work into two phases: the miner first generates a candidate solution, then a separate verification step determines block validity. The miner cannot determine at discovery time whether their solution qualifies as a valid block. Like oblivious shares, this requires network-wide changes that create backward-compatibility challenges.
Auditable Proof of Work (APoW)
A 2025 proposal, Auditable Proof of Work (APoW), introduces dual-mode mining: miners alternate between normal hashing and a verification mode where they re-explore specific nonce regions from previous rounds. This lets pools retroactively verify that a miner exhaustively searched their assigned nonce space, making withholding detectable after the fact. APoW is designed so that verification hashing remains productive by contributing to the pool's effective hashrate rather than being wasted computation.
Real-World Incidents
Block withholding is difficult to detect and likely underreported. Two notable incidents have been publicly documented.
Why It Matters
Block withholding highlights a fundamental tension in pooled mining: pools must trust that participants submit all valid work, yet no cryptographic mechanism enforces this. The attack undermines the cooperative economics that make mining pools viable, and the shift towards PPS/FPPS payout schemes, driven by miners' preference for predictable income, has paradoxically increased the ecosystem's vulnerability.
For the broader Bitcoin network, BWH attacks reduce effective hashrate without reducing reported hashrate, creating a gap between perceived and actual network security. This makes block withholding relevant to anyone evaluating Bitcoin's censorship resistance and the decentralisation of its mining infrastructure. For a deeper analysis of mining economics and pool dynamics, see the Bitcoin mining economics research article.
Layer-2 protocols like Spark and the Lightning Network are not directly affected by block withholding, since they settle off-chain. However, they ultimately depend on the security and honest operation of the base layer, making mining pool integrity a concern for the entire Bitcoin ecosystem.
Risks and Considerations
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.