On the Strategy and Behavior of Bitcoin Mining with N-attackers

Hanqing Liu, Na Ruan, Rongtian Du, Weijia Jia

Abstract

Traditional blockchain security research often assumes a single "selfish miner" attacking an honest network. This paper explores the more complex reality of multiple independent attackers competing simultaneously. By introducing a new strategy called publish-n, the authors demonstrate how attackers can outperform traditional selfish mining by up to 26.3% in multi-attacker scenarios. This is achieved by strategically releasing blocks to recruit honest miner support, shifting the paradigm from a binary conflict to a competitive multi-agent environment.

Introduction

Since the introduction of "Selfish Mining" by Eyal and Sirer in 2014, it has been understood that miners with sufficient hashpower can earn disproportionate rewards by strategically withholding blocks. However, the assumption of a single attacker is a significant simplification. In a competitive ecosystem, if one pool begins to cheat, others are likely to follow to remain competitive. This paper addresses the "N-attacker" problem: how do independent attackers interact, and do traditional strategies remain effective when fighting both honest miners and other cheaters? The authors aim to move from a simple "Good vs. Evil" model to a more complex "Free-for-All" environment.

Methodology

To analyze these complex interactions, the authors developed a two-phase blockchain simulation framework designed to model state transitions and decision-making processes.

The two-phase blockchain simulation framework used to model miner interactions and state transitions.

The framework consists of:

  1. Blockchain Instance: This phase defines the network parameters, including the number of miners and the distribution of hashpower ($\alpha$ for honest miners and $\beta_i$ for each attacker $i$).
  2. Blockchain Simulator: This phase models the state transitions. It tracks the lead of attackers over the honest chain and identifies when forks or competitions occur, ultimately outputting metrics like the stale block rate.

The simulations utilized historical Bitcoin hashpower distributions (2014–2017) to ground the model in reality, capping individual attacker hashpower at 33%–40% to reflect the size of real-world mining pools.

The Publish-n Strategy and Multi-Attacker Dynamics

The core contribution of this research is the Publish-n strategy. Unlike traditional selfish mining, where blocks are held privately until the chain is threatened, a publish-n miner sets a threshold (cordon) at length $n$. Once the private chain reaches this length, the miner begins publishing blocks to the network.

A multi-attacker scenario where Alice, Bob, and Lucy compete, illustrating the 'Adopt', 'Override', and 'Hold' decisions.

This strategy serves as a hybrid approach designed to "recruit" honest miners to the attacker's chain before a rival attacker can override it. In a "Free-for-All" environment, attackers often engage in "blind auctions," wasting private blocks against each other because they lack shared information. The publish-n strategy mitigates this risk by securing a lead early and leveraging honest hashpower as a buffer.

Key Insights

  • Failure of Stubbornness: Strategies like "stubborn mining" that work against honest miners fail against other attackers, as being too stubborn makes a miner an easy target for a rival's "Override" action.
  • Honest Miners as Collateral Beneficiaries: Interestingly, the competition between attackers can sometimes stabilize the network by preventing any single selfish miner from achieving total dominance, leading to a more stable (though still attacked) network.

Key Results

Numerical simulations revealed several critical findings:

  • Efficiency Gains: In a two-attacker model with low hashpower ($\sim 10\%$), the publish-n strategy outperformed traditional selfish mining by 26.3% in terms of relative stale block rate efficiency.
  • Dynamic Thresholds: The classic 33% threshold for selfish mining profitability is not a fixed law; it fluctuates based on the specific hashpower and strategies employed by other attackers in the network.
  • Scalability of Attacks: While selfish mining is robust in isolation, its effectiveness decreases significantly as the number of independent attackers increases.

Limitations and Future Work

While the model provides a more realistic view of blockchain competition, it has limitations. Detecting specific attackers remains difficult despite visible spikes in stale block rates. Furthermore, the study assumes static strategies; future research could explore dynamic "strategy switching" based on real-time network conditions. Finally, the uncertainty of block propagation ($\gamma$) remains a significant factor, as real-world network latency heavily influences which chain an honest miner will follow during a tie.

Summary updated

BibTeX
@inproceedings{liu2018strategy,
  author = {Hanqing Liu and Na Ruan and Rongtian Du and Weijia Jia},
  title = {{On the Strategy and Behavior of Bitcoin Mining with N-attackers}},
  booktitle = {Asiaccs},
  year = {2018},
  doi = {10.1145/3196494.3196512},
}
Figure