Optimal Mining: Maximizing Bitcoin Miners' Revenues - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2021

Optimal Mining: Maximizing Bitcoin Miners' Revenues

Mohsen Alambardar
  • Fonction : Auteur
  • PersonId : 1099472
Mohammad Reza Hooshmandasl
  • Fonction : Auteur
  • PersonId : 1099473
Ali Shakiba
  • Fonction : Auteur
  • PersonId : 1099474

Résumé

Following the Bitcoin model, many modern blockchains reward their miners in two ways: (i) a base reward for each block that is mined, and (ii) the transaction fees of those transactions that are included in the mined block. The base reward is fixed by the respective blockchain's protocol and is not under the miner's control. Hence, for a miner who wishes to maximize earnings, the fundamental problem is to form a valid block with maximal total transaction fees and then try to mine it. Moreover, in many protocols, including Bitcoin itself, the base reward halves at predetermined intervals, hence increasing the importance of maximizing transaction fees and mining an optimal block. This problem is further complicated by the fact that transactions can be prerequisites of each other or have conflicts (in case of double-spending). In this work, we consider the problem of forming an optimal block, i.e. a valid block with maximal total transaction fees, given a set of unmined transactions. On the theoretical side, we first formally model our problem as an extension of Knapsack and then show that, unlike classical Knapsack, our problem is strongly NP-hard. We also show a hardness-of-approximation result. As such, there is no hope in solving it efficiently for general instances. However, we observe that its real-world instances are quite sparse, i.e. the transactions have very few dependencies and conflicts. Using this fact, and exploiting two well-known graph sparsity parameters, namely treewidth and pathwidth, we present exact linear-time parameterized algorithms that are applicable to the real-world instances and obtain optimal results. We also provide an experimental evaluation demonstrating that our approach vastly outperforms the current Bitcoin miners in practice, obtaining a significant per-block average increase of 13.4% in transaction fee revenues.
Fichier principal
Vignette du fichier
OptimalMining.pdf (763.66 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03232783 , version 1 (22-05-2021)
hal-03232783 , version 2 (10-10-2021)

Identifiants

  • HAL Id : hal-03232783 , version 2

Citer

Mohsen Alambardar, Amir Goharshady, Mohammad Reza Hooshmandasl, Ali Shakiba. Optimal Mining: Maximizing Bitcoin Miners' Revenues. 2021. ⟨hal-03232783v2⟩

Collections

TDS-MACS
315 Consultations
913 Téléchargements

Partager

Gmail Facebook X LinkedIn More