Bitcoin’s security is usually described as requiring a majority of hash rate to attack. Two strategies complicate that: one lets a minority miner earn more than its share by withholding blocks from the network, and the other lets a participant damage a pool at its own expense. Both are real, both have been analysed carefully, and neither has been clearly observed.
What is selfish mining?
Finding a block and not telling anybody, while you work on the next one.
The honest strategy is to publish immediately: a block that reaches the network first wins any race. The selfish strategy keeps the block private. The attacker now has a one-block head start on a chain nobody else knows exists, and the rest of the network continues working on the previous block — wasting effort by definition, because whatever they find will have to compete.
The attacker releases strategically. If somebody else publishes at the same height, the attacker immediately releases theirs, forcing a race they are well positioned to win because they knew it was coming. If the attacker extends their private chain to two blocks, they can release both and orphan whatever the honest network produced in the meantime.
The result, in the model, is that the attacker’s share of accepted blocks exceeds its share of hash rate, because a portion of everyone else’s work is discarded.
Notice what is not happening. No rule is broken, no invalid block is produced, and nothing the attacker publishes would be rejected by any node. Withholding a block for a while is not even detectable as a choice — a miner who has not published might simply not have found anything. The strategy lives entirely in timing, which is the one dimension the consensus rules say almost nothing about.
Does it actually pay?
The 2013 analysis said yes above a threshold; the threshold depends entirely on one parameter.
Eyal and Sirer’s result was that selfish mining becomes profitable at a share of hash rate well below a majority — in their framing, as low as around a quarter under favourable conditions. The figure that moves it is how often the attacker wins a propagation race when both blocks are released at once: if the attacker’s block reaches most of the network first, the strategy works at low share; if it loses those races, the threshold rises toward a majority.
That parameter is exactly what a decade of propagation work has attacked. Compact block relay cut the bytes a new block needs by an order of magnitude, high-bandwidth relay forwards blocks before full validation, and dedicated relay networks connect large miners directly. The honest network now propagates in a small number of seconds, which makes the attacker’s advantage in a simultaneous race much smaller than the model’s favourable case.
Three further costs sit outside the model. The strategy is statistically detectable over time, because an unusual stale rate around one miner is measurable. The difficulty adjustment means a higher share of blocks does not translate into more coins until the next retarget. And a miner identified as doing it holds hardware and often coins whose value depends on confidence in the network they are attacking.
Why has nobody seen it?
Because the evidence would be subtle, and the incentive to publish it is weak.
A selfish miner at modest share produces a slightly elevated stale rate and a slightly unusual distribution of block timings. Both are noisy quantities, and attributing them requires data about who found what and when that only pools and large observers hold.
Absence of reports is therefore weak evidence either way. What can be said is that nobody has demonstrated the strategy running, that the propagation environment is much less favourable to it than in 2013, and that the published analyses since have mostly narrowed the conditions under which it beats honest mining rather than widened them.
What is block withholding against a pool?
Submitting proof of work to a pool while discarding the solutions that would win a block.
A pool pays for shares — hashes below an easy target, proving work was done. Occasionally a share is also below the real network target and is therefore a block. A withholding attacker submits every ordinary share and silently discards the rare one that would have won, collecting pool payouts while contributing nothing to the pool’s revenue.
The attack costs the attacker money in the straightforward case: they earn pool payouts and forgo their share of the blocks they destroyed. It is a sabotage strategy, and Rosenfeld’s early analysis of pool reward systems set out the accounting that makes it work and the variants that make it less unprofitable.
What makes it serious is that detection is statistical and slow. A pool sees only that a participant’s shares are not producing blocks at the expected rate, which is indistinguishable from bad luck until a great deal of work has accumulated. The defences are commercial — reputation, contracts, the pool’s right to remove participants — rather than technical.
Does Stratum V2 change this?
It changes who holds the template, which affects one of the two attacks and not the other.
Under job declaration a farm builds its own block template and the pool accepts shares against it. That does not stop a participant discarding winning shares, so pool withholding is unaffected.
What it does change is the information available. A pool that no longer constructs the template also no longer chooses the transactions, which removes the pool’s ability to run strategies that depend on controlling block contents — and makes the participant, rather than the pool, the party whose behaviour matters. That is a reallocation of the problem rather than a solution to it.
The broader point is that both attacks live in the relationship between miners and pools rather than in the protocol. Nothing in consensus is violated by either, which is why the countermeasures are economic and reputational.
Is there a version that is not an attack?
Yes, and it is the reason this matters commercially rather than only theoretically.
The same reasoning that makes withholding possible makes several ordinary behaviours strategically interesting. A pool can time its announcements. A large miner can route its blocks through private relay before the public network. A participant can move hash rate between pools in response to payout schemes, which Rosenfeld’s analysis covered as pool hopping and which reward systems were redesigned to resist.
None of that breaks a rule, and all of it is somebody optimising inside the incentives as written. The line between optimisation and attack is not drawn anywhere in the protocol, and the people who draw it are the pools writing their terms and the operators deciding whom to work with.
That is worth holding alongside the usual framing. Bitcoin’s incentive design is strong in that honest participation pays well; it is not an argument that every deviation is unprofitable, and several deviations are being priced by people with better data than anyone publishes.
What should a reader take from this?
That “needs 51%” is a simplification, and the simplification is roughly right in practice.
The threshold for profitable deviation is not a clean majority, and it is also not as low as the 2013 headline suggested once propagation is measured rather than assumed. The strategies are real, bounded, detectable in principle, and have not visibly appeared in a decade of very large financial incentive to try them.
What they do establish is that Bitcoin’s incentive argument is not a theorem. Honest mining is the best strategy under conditions that mostly hold; it is not provably optimal under all conditions, and the margin depends on engineering — network propagation — rather than on anything in the consensus rules.
Check it yourself
Stale blocks are the observable trace, and they are public. Explorers list orphaned blocks with their heights and, where known, the pool that produced them. A sustained excess around one producer is what the evidence would look like.
Your own node sees the branch structure directly:
bitcoin-cli getchaintips
Entries marked valid-fork are branches your node validated and did
not follow. On an ordinary day there are a handful, each a block or
two long, which is what honest competition produces.
What remains uncertain
What the real propagation parameter is. Public measurements are old and the relay networks used by large miners are private. The threshold for profitable selfish mining is a function of a number nobody currently publishes.
Whether withholding happens quietly. It is cheap to attempt, hard to detect, and pools have little incentive to announce that it happened to them. The honest position is that the base rate is unknown.
Whether template separation helps or merely moves it. Job declaration redistributes who can act on block contents. Whether a world of many small template-declaring farms is more or less vulnerable to strategic behaviour than a world of a few large pools has not been modelled against real deployment, because the deployment is still partial.