Game-Theoretical Analysis of Mining Strategy for Bitcoin-NG Blockchain Protocol

Taotao Wang, Xiaoqian Bai, Hao Wang, Soung Chang Liew, Shengli ZhangIEEE Syst. J 2021

TL;DR

This paper analyzes a novel "advanced mining" attack on the Bitcoin-NG blockchain protocol. By strategically delaying block creation to capture more transaction fees, attackers can achieve higher rewards than honest miners. The study uses game theory to show that this advanced mining strategy becomes the equilibrium, leading to reduced transaction processing capacity for Bitcoin-NG.

What Problem Does This Paper Address?

The Bitcoin-NG protocol was designed to address the scalability limitations of traditional blockchains like Bitcoin by dividing blocks into "key blocks" (for leader election) and "micro blocks" (for transactions). It also introduced an incentive mechanism where transaction fees are split between the current and next block leaders. While this aims to encourage honest behavior, the authors identify a vulnerability: an "advanced mining attack." This attack exploits the incentive structure by having a miner deliberately extend their mining duration after a key block is found, ignoring some micro blocks to increase their chances of mining the next key block. This strategy, while sacrificing some immediate transaction fees, can lead to a higher overall reward by increasing the probability of winning the mining race and securing the block reward. The paper investigates how this attack impacts the protocol's security and efficiency, particularly when multiple miners engage in it.

Methods

The paper employs a multi-faceted approach:

  • Optimization Theory: For a single attacker, the authors formulate an optimization problem to find the optimal mining duration that maximizes the attacker's expected reward, considering transaction fees, mint coins, and the probability of winning the mining race.
  • Game Theory: To analyze the scenario with multiple competing miners, the authors model the interactions as a non-cooperative game. They derive the Nash equilibrium for two-player and N-player games, where each player (mining pool) strategically chooses their mining duration to maximize their own expected reward.
  • Analytical Modeling: Mathematical models are developed to calculate probabilities of successful mining and expected rewards under different scenarios (e.g., previous block mined by attacker vs. honest miner).
  • Numerical Computations and Simulations: The analytical models are validated through numerical computations and system simulations. A Bitcoin-NG simulator is built to test the advanced mining attack under various conditions, including different mining powers and reward structures.

Datasets

Not discussed in the paper. The paper relies on simulated network conditions and parameters rather than real-world datasets.

Key Insights and Ideas

  • Advanced Mining is Profitable: The core insight is that deviating from the "honest" strategy of mining the very next block can be more profitable. By strategically delaying, miners can increase their probability of winning the mining race, compensating for lost transaction fees.
  • Game Theory Reveals Equilibrium: The game-theoretic analysis demonstrates that when multiple miners adopt this advanced mining strategy, they converge to a Nash equilibrium where no single miner can improve their outcome by unilaterally changing their strategy. This means advanced mining becomes the dominant strategy.
  • Scalability Trade-off: The advanced mining equilibrium leads to a reduction in the transaction processing capacity (TPS) of Bitcoin-NG. This is because micro blocks are ignored, meaning fewer transactions are ultimately included in the blockchain.
  • Reward Structure Matters: The paper highlights how the reward structure, particularly the value of mint coins (R) in key blocks, influences the profitability of advanced mining. Higher rewards for key blocks incentivize more aggressive advanced mining.
  • Power Imbalance Amplifies Motivation: Miners with lower hash rates (less computing power) have a stronger incentive to adopt advanced mining, as it disproportionately increases their chances of mining success compared to honest mining.

Key Results

  • Optimal Mining Duration: The paper derives formulas for the optimal mining duration (τ*) that maximizes an attacker's expected reward, showing it's generally longer than the default duration (Tm).
  • Nash Equilibrium: For both two-player and N-player games, the analysis confirms the existence of a Nash equilibrium where all players adopt advanced mining.
  • Reduced TPS: Simulations show that the advanced mining equilibrium leads to a decrease in the number of micro blocks included in the blockchain, thus reducing the overall TPS.
  • Advanced Mining Outperforms BWH: In simulations, the advanced mining attack is shown to be more effective than the Block Withholding (BWH) attack in Bitcoin-NG.
  • Impact of R: Increasing the reward for key blocks (R) amplifies the penalty on TPS caused by advanced mining.

Limitations and Future Work

  • Analytical Complexity: While the Nash equilibrium exists for N-player games, deriving an explicit analytical solution is complex and not provided. Numerical computations are used instead.
  • Simplified Network Model: The analysis often simplifies the network by grouping miners into a few pools or considering a single "honest miner" against an attacker.
  • Parameter Sensitivity: The results are sensitive to parameters like hash rates, transaction fees, and block rewards.
  • Future Work: The authors suggest exploring ways to alleviate the negative impact of advanced mining. This could involve adjusting the incentive mechanism, modifying the difficulty adjustment algorithm, or exploring alternative consensus mechanisms. They also mention the need for further investigation into the optimal value of the transaction fee splitting parameter (α).

Summary updated

Abstract

Bitcoin-NG (next generation), a scalable blockchain protocol, divides each block into a key block and many microblocks to effectively improve the transaction processing capacity. Bitcoin-NG has a special incentive mechanism (i.e., splitting transaction fees to the current and the next leader) to maintain its security. However, this incentive mechanism ignores the joint effect of transaction fees, mint coins, and mining duration lengths on the expected mining reward. In this article, we identify the advanced mining attack that deliberately ignores microblocks to enlarge the mining-duration length to increase the likelihood of winning the mining race. We first show that an advanced mining attacker can maximize its expected reward by optimizing its mining-duration length. We then formulate a game-theoretical model in which multiple mining players perform advanced mining to compete with each other. We analyze the Nash equilibrium for the mining game. Our analytical and simulation results indicate that all mining players in the mining game converge to having advanced mining at the equilibrium and have no incentives for deviating from the equilibrium; the transaction processing capability of Bitcoin-NG at the equilibrium is decreased by advanced mining. Therefore, we conclude that the Bitcoin-NG blockchain protocol is vulnerable to advanced mining.
BibTeX
@inproceedings{wang2021game,
  author = {Taotao Wang and Xiaoqian Bai and Hao Wang and Soung Chang Liew and Shengli Zhang},
  title = {{Game-Theoretical Analysis of Mining Strategy for Bitcoin-NG Blockchain Protocol}},
  booktitle = {IEEE Syst. J},
  year = {2021},
  url = {https://openreview.net/forum?id=LMoCBqvRuv},
}
Figure