[Paper Review] On profitability of selfish mining
This paper rigorously analyzes the profitability of selfish mining in Bitcoin using martingale theory and the Doob Stopping Time Theorem, revealing that selfish mining is unprofitable before difficulty adjustments due to time-extended attack cycles. It proves that the strategy only becomes profitable *after* difficulty reduction, exposing a flaw in the difficulty adjustment mechanism, and proposes a protocol enhancement that includes 'uncle' block signaling to make selfish mining non-profitable by aligning incentives with honest mining.
We review the so called selfish mining strategy in the Bitcoin network and compare its profitability to honest mining.We build a rigorous profitability model for repetition games. The time analysis of the attack has been ignored in the previous literature based on a Markov model,but is critical. Using martingale's techniques and Doob Stopping Time Theorem we compute the expected duration of attack cycles. We discover a remarkable property of the bitcoin network: no strategy is more profitable than the honest strategy before a difficulty adjustment. So selfish mining can only become profitable afterwards, thus it is an attack on the difficulty adjustment algorithm. We propose an improvement of Bitcoin protocol making it immune to selfish mining attacks. We also study miner's attraction to selfish mining pools. We calculate the expected duration time before profit for the selfish miner, a computation that is out of reach by the previous Markov models.
Motivation & Objective
- To provide a rigorous, time-aware profitability analysis of selfish mining, correcting flaws in prior Markov-based models that ignored duration.
- To identify why selfish mining is only profitable *after* difficulty adjustment, revealing it as an attack on the difficulty adjustment algorithm itself.
- To propose a protocol-level fix that makes selfish mining unprofitable by incorporating orphan block (uncle) data into the difficulty adjustment formula.
- To ensure long-term incentive compatibility in Bitcoin by aligning miner behavior with honest mining through a modified proof-of-work selection rule.
Proposed method
- Uses martingale techniques and the Doob Stopping Time Theorem to compute the expected duration of selfish mining attack cycles.
- Models the attack as a stochastic process with state-dependent block release strategies based on chain length and network response.
- Introduces a new profitability metric: average revenue per unit time, derived from cycle duration and block rewards.
- Proposes a modified difficulty adjustment formula that includes the count of orphan blocks (uncles) in the network's hash rate estimation.
- Recommends a network rule that prioritizes blocks with more proof-of-work, including uncles, to favor honest mining in forks.
- Applies the theoretical framework to analyze and compare other strategies like Stubborn and Trail Mining, deriving closed-form profitability formulas.
Experimental results
Research questions
- RQ1Why is selfish mining unprofitable before difficulty adjustment, despite prior claims of profitability?
- RQ2How can the expected duration of a selfish mining attack cycle be computed rigorously, and why is this critical for profitability assessment?
- RQ3What is the true profitability of selfish mining relative to honest mining when time and cycle duration are accounted for?
- RQ4How does the current difficulty adjustment formula fail to reflect actual network hashrate in the presence of selfish mining?
- RQ5Can a protocol change make selfish mining unprofitable while preserving incentive alignment in Bitcoin?
Key findings
- Selfish mining is unprofitable before difficulty adjustment because the expected duration of attack cycles is too long, erasing any potential gains.
- The attack only becomes profitable *after* difficulty adjustment, making it a strategic exploit of the adjustment mechanism rather than a direct attack on consensus.
- The proposed difficulty adjustment formula, which includes orphan block counts, ensures that difficulty does not fall in response to selfish mining, neutralizing the attack.
- The protocol enhancement—requiring blocks to include proofs of existence of uncles—makes honest mining more profitable than selfish mining even after adjustment.
- The new rule ensures that the official blockchain is always the one with the most proof-of-work, including uncles, which favors honest miners in fork competition.
- Theoretical analysis confirms that with the proposed fix, selfish mining cannot outperform honest mining, restoring the original incentive alignment of Bitcoin's design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.