Abstract
In Proof-of-Work cryptocurrencies, fair reward distribution within mining pools has become a popular area of research. Aside from a theoretical grounding, mining pool reward scheme research has commonly involved discrete event simulations of deterministic miner behaviour under different reward schemes. However, until now researchers have been left with the tedious task of developing their own mining pool simulation software, a rather time-consuming and potentially extensive undertaking, as miner behaviour becomes more complex. We present PoolSim, an open-source and very extensible discrete event simulation framework for modelling different behaviours of miners under any reward distribution scheme. By utilising this framework for different hypothetical mining scenarios, we showcase that mining pool reward scheme analysis indeed remains an exciting area for future research. Further, we believe that PoolSim will vastly increase productivity of researchers focusing on mining pools.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Total cryptocurrency market capitalisation. Source: https://coinmarketcap.com. Accessed: 2019-03-06.
- 2.
1 MH/s = \(10^6\) hashes per second.
- 3.
1 GH/s = \(10^9\) hashes per second.
- 4.
https://github.com/samwerner/PoolSim. Accessed: 2019-03-02.
- 5.
Ethpool refers to this as a predictable solo mining pool, however, we shall employ the term “queue-based pool” as introduced in [14].
- 6.
Minus the pool operator fee.
- 7.
As the performed simulations did not involve a PPS reward scheme under which an operator fee would indeed be relevant, we decided to omit this variable.
- 8.
- 9.
It should be noted that we have made small modifications to the simulation setup compared to the original work for performance gains.
References
Buterin, V.: Ethereum: a next-generation smart contract and decentralized application platform. https://github.com/ethereum/wiki/wiki/White-Paper (2014). Accessed 22 Aug 2016
Cap, C.M.: Coin market cap. https://coinmarketcap.com (2019). Accessed 05 Apr 2019
Chávez, J., Rodrigues, C.: Hopping among pools in the bitcoin mining network. SIJ Trans. Comput. Netw. Commun. Eng. (CNCE) 3(2), 22–27 (2015)
Chávez, J.J.G., da Silva Rodrigues, C.K.: Automatic hopping among pools and distributed applications in the bitcoin network. In: 2016 XXI Symposium on Signal Processing, Images and Artificial Vision (STSIVA), pp. 1–7. IEEE (2016)
Courtois, N.T., Bahack, L.: On subversive miner strategies and block withholding attack in bitcoin digital currency. arXiv:1402.1718 (2014)
Eyal, I.: The miner’s dilemma. In: 2015 IEEE Symposium on Security and Privacy (SP), pp. 89–103. IEEE (2015)
Lewenberg, Y., Bachrach, Y., Sompolinsky, Y., Zohar, A., Rosenschein, J.S.: Bitcoin mining pools: a cooperative game theoretic analysis. In: Proceedings of the 2015 International Conference on Autonomous Agents and Multiagent Systems, pp. 919–927. International Foundation for Autonomous Agents and Multiagent Systems (2015)
Luu, L., Saha, R., Parameshwaran, I., Saxena, P., Hobor, A.: On power splitting games in distributed computation: the case of bitcoin pooled mining. In: Proceedings of the 28th IEEE Computer Security Foundations Symposium (CSF 2015), pp. 397–411. IEEE, IEEE Computer Society, Verona, Italy (2015)
Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. Dec 2008, https://bitcoin.org/bitcoin.pdf. Accessed 01 Aug 2015
Rosenfeld, M.: Analysis of bitcoin pooled mining reward systems. arXiv:1112.4980 (2011). Accessed 16 Oct 2018
Schrijvers, O., Bonneau, J., Boneh, D., Roughgarden, T.: Incentive compatibility of bitcoin mining pool reward functions. In: Financial Cryptography and Data Security (2016)
Wang, W., Hoang, D.T., Xiong, Z., Niyato, D., Wang, P., Hu, P., Wen, Y.: A survey on consensus mechanisms and mining management in blockchain networks. arXiv:1805.02707 (2018)
Werner, S., Pritz, P., Zamyatin, A., Knottenbelt, W.: Uncle traps: harvesting rewards in a queue-based ethereum mining pool. Cryptology ePrint Archive preprint: 2019/070. https://eprint.iacr.org/2019/070.pdf (2019). Accessed 02 Mar 2019
Zamyatin, A., Wolter, K., Werner, S., Harrison, P.G., Mulligan, C.E., Knottenbelt, W.J.: Swimming with fishes and sharks: beneath the surface of queue-based ethereum mining pools. In: 2017 IEEE 25th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS), pp. 99–109. IEEE, IEEE Computing Society, Banff, Canada, Sept 2017. https://doi.org/10.1109/MASCOTS.2017.22
Acknowledgements
The authors would like to thank Paul Pritz for helpful feedback. This research is supported by funding from the Brevan Howard Centre for Financial Analysis.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Werner, S.M., Perez, D. (2020). PoolSim: A Discrete-Event Mining Pool Simulation Framework. In: Pardalos, P., Kotsireas, I., Guo, Y., Knottenbelt, W. (eds) Mathematical Research for Blockchain Economy. Springer Proceedings in Business and Economics. Springer, Cham. https://doi.org/10.1007/978-3-030-37110-4_12
Download citation
DOI: https://doi.org/10.1007/978-3-030-37110-4_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-37109-8
Online ISBN: 978-3-030-37110-4
eBook Packages: Economics and FinanceEconomics and Finance (R0)