Skip to main content
QUICK REVIEW

[Paper Review] On Profitability of Trailing Mining

Cyril Grunspan, Ricardo Pérez-Marco|arXiv (Cornell University)|Nov 22, 2018
Blockchain Technology Applications and SecurityComputer Science7 references12 citations
TL;DR

This paper analyzes the profitability of the A-Trailing Mining (TSM_A) strategy in Bitcoin using martingale theory and the hiker problem from stochastic processes. It derives exact formulas for the revenue ratio and apparent hashrate, proving that trailing mining can be profitable even when the attacker mines on a shorter fork, especially for certain parameter values of A and attacker hashrate q.

ABSTRACT

We compute the revenue ratio of the Trail Stubborn mining strategy in the Bitcoin network and compare its profitability to other block-withholding strategies. We use for this martingale techniques and a classical analysis of the hiker problem. In this strategy the attacker could find himself mining in a shorter fork, but we prove that for some parameter values it is still profitable to not give up. This confirms previous numerical studies.

Motivation & Objective

  • To rigorously analyze the profitability of the A-Trailing Mining (TSM_A) strategy in Bitcoin, a variant of block-withholding attacks.
  • To extend prior work on selfish mining and lead-stubborn mining by incorporating a delayed surrender condition based on honest chain lead.
  • To compute the expected revenue ratio and apparent hashrate for the attacker under the TSM_A strategy using advanced stochastic techniques.
  • To confirm through analytical derivation that trailing mining can remain profitable even when the attacker's chain is shorter, challenging assumptions about optimal attack behavior.
  • To provide a mathematical foundation for evaluating the long-term profitability of such strategies in the context of Bitcoin's difficulty adjustment mechanism.

Proposed method

  • Applies Doob’s Optional Stopping Theorem via martingale techniques to compute expected attack cycle duration and revenue.
  • Models the attacker’s mining process as a biased random walk (hiker problem) with absorbing states at 0 and M blocks, representing chain takeover or recovery.
  • Uses the hiker problem’s conditional expectation and transition probabilities to compute the expected time to exit the attack cycle under the condition of eventual success.
  • Derives the revenue ratio using the formula Γ = E[R]/E[τ], where E[R] is expected revenue and E[τ] is expected attack cycle duration.
  • Introduces the h-Doob transform to condition the random walk on the event that the attacker’s chain wins (exits at 0), enabling exact computation of conditional expectations.
  • Employs recursive relations and closed-form expressions involving λ = q/p and polynomials P_A(λ) to express the final revenue ratio and apparent hashrate in terms of attacker hashrate q, honest hashrate p, and parameter A.

Experimental results

Research questions

  • RQ1Under what conditions is the A-Trailing Mining strategy profitable despite mining on a shorter fork?
  • RQ2How does the attacker’s revenue ratio depend on the parameter A, representing the block advantage threshold before surrender?
  • RQ3What is the exact analytical expression for the expected revenue and duration of an attack cycle in the TSM_A strategy?
  • RQ4How does the apparent hashrate of the attacker compare to their actual hashrate after a difficulty adjustment?
  • RQ5Can the trailing mining strategy outperform established strategies like Lead-Stubborn Mining (LSM) in terms of profitability for specific parameter regimes?

Key findings

  • The revenue ratio for A-Trailing Mining is derived in closed form, showing that profitability persists even when the attacker's chain is shorter, provided A and q are appropriately chosen.
  • For A = 1, the TSM_A strategy reduces to Lead-Stubborn Mining (LSM), confirming consistency with prior results and validating the general framework.
  • The apparent hashrate of the attacker is strictly greater than their actual hashrate q when the strategy is profitable, indicating a successful exploit on the difficulty adjustment mechanism.
  • The expected duration of an attack cycle depends on the ratio λ = q/p and the parameter A, with longer cycles occurring when the attacker’s hashrate is low relative to honest miners.
  • The analysis confirms that trailing mining can be profitable for certain values of A and q, particularly when the attacker attracts a fraction γ of honest miners to their fork.
  • The derived formulas for the revenue ratio and apparent hashrate are exact and expressed in terms of rational functions involving λ and the polynomial P_A(λ), which captures the strategic dynamics of the attack.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.