A Holistic Approach for Bitcoin Confirmation Times & Optimal Fee Selection (2402.17474v1)
Abstract: Bitcoin is currently subject to a significant pay-for-speed trade-off. This is caused by lengthy and highly variable transaction confirmation times, especially during times of congestion. Users can reduce their transaction confirmation times by increasing their transaction fee. In this paper, based on the inner workings of Bitcoin, we propose a model-based approach (based on the Cram\'er-Lundberg model) that can be used to determine the optimal fee, via, for example, the mean or quantiles, and models accurately the confirmation time distribution for a given fee. The proposed model is highly suitable as it arises as the limiting model for the mempool process (that tracks the unconfirmed transactions), which we rigorously show via a fluid limit and we extend this to the diffusion limit (an approximation of the Cram\'er-Lundberg model for fast computations in highly congested instances). We also propose methods (incorporating the real-time data) to estimate the model parameters, thereby combining model and data-driven approaches. The model-based approach is validated on real-world data and the resulting transaction fees outperform, in most instances, the data-driven ones.
- Al-Shehabi, A. (2018). Bitcoin transaction fee estimation using mempool state and linear perceptron machine learning algorithm. Master’s thesis, San Jose State University.
- Risk and Insurance. Springer Nature Switzerland AG.
- Billingsley, P. (1999). Convergence of Probability Measures. Wiley Series in Probability and Statistics. John Wiley & Sons, Inc., second edition.
- Regular Variation. Cambridge University Press, Cambridge.
- A First Course in Bulk Queues. John Wiley & Sons.
- Fundamentals of Queueing Networks. Stochastic Modelling and Applied Probability. Springer New York, first edition.
- Limit behavior of fluid queues and networks. Operations Research, 53(6):933–945.
- Optimal control of batch service queues. Advances in Applied Probability, 5(2):340–361.
- Dickson, D. C. M. (2016). Insurance Risk and Ruin. International Series on Actuarial Science. Cambridge University Press, second edition.
- An Introduction to the Bootstrap. Chapman and Hall/CRC.
- The inverse Gaussian distribution and its statistical application–A review. Journal of the Royal Statistical Society, 40(3):263–289.
- An analysis of transaction handling in Bitcoin. Preprint available at http://arxiv.org/abs/2106.10083.
- Predicting confirmation times of bitcoin transactions. Sigmetrics Performance Evaluation Review, 48(4):16–19.
- Code. Code for the results, tables and figures can be found https://surfdrive.surf.nl/files/index.php/s/O2Rv5HXk7QBmqxw.
- Gut, A. (2012). Probability: A Graduate Course. Springer Texts in Statistics. Springer New York, second edition.
- A First Course in Stochastic Processes. Elsevier Inc., second edition.
- Kasahara, S. (2021). Performance modeling of Bitcoin blockchain: mining mechanism and transaction-confirmation process. IEICE Transactions on Communications, E104.B:1455–1464.
- Effect of Bitcoin fee on transaction-confirmation process. Journal of Industrial & Management Optimization, 15(1):365–386.
- Transaction-confirmation time for bitcoin: A queueing analytical approach to blockchain mechanism. In Yue, W., Li, Q.-L., Jin, S., and Ma, Z., editors, Queueing Theory and Network Applications, pages 75–88, Cham. Springer International Publishing.
- Priority queueing analysis of transaction-confirmation time for bitcoin. Journal of Industrial and Management Optimization, 16(3):1077–1098.
- Konstantopoulos, T. (1995). Ballot theorems revisited. Statistics and Probability Letters, 24(4):331–338.
- Koops, D. (2018). Predicting the confirmation time of bitcoin transactions. Preprint available at arXiv:1809.10596 [cs.PF].
- Analyzing Bitcoin transaction fees using a queueing game model. Electronic Commerce Research.
- Blockchain queueing theory. Preprint available at https://arxiv.org/abs/1808.01795.
- Markov processes in blockchain systems. Computational Social Networks, 6(1):1–28.
- Analysis of the confirmation time in proof-of-work blockchains. Future Generation Computer Systems, 147:275–291.
- Simulation model for blockchain systems using queuing theory. Electronics (Switzerland), 8(2):1–19.
- Renewal Processes. Springer Cham, first edition.
- The moments of ruin time in the classical risk model with discrete claim size distribution. Insurance: Mathematics and Economics, 23(2):157 – 172.
- Double-spend attack models with time advantange [sic] for Bitcoin. Electronic Notes in Theoretical Computer Science, 329:79–103.
- Learning blockchain delays: A queueing theory approach. Sigmetrics Perform. Eval. Rev., 46(3):122–125.
- Bulk service queueing models - a survey. International Journal of Pure and Applied Mathematics, 106(6):43–56.
- Need for speed, but how much does it cost? Unpacking the fee-speed relationship in Bitcoin transactions. Journal of Operations Management, 69(1):102–126.
- Prediction of transaction confirmation time in Ethereum blockchain using machine learning. Advances in Intelligent Systems and Computing, 1010:126–133.
- Stadje, W. (1995). The busy periods of some queueing systems. Stochastic Processes and their Applications, 55(1):159–167.
- Robustness analysis of bitcoin confirmation times. Sigmetrics Performance Evaluation Review, 48(4):20–23.
- Predicting transaction latency with deep learning in proof-of-work blockchains. Proceedings - 2019 IEEE International Conference on Big Data, Big Data 2019, pages 4223–4231.
- Wald, A. (1945). Some generalizations of the theory of cumulative sums of random variables. The Annals of Mathematical Statistics, 16(3):287 – 293.
- Whitt, W. (2002). Stochastic-Process Limits. Springer Series in Operations Research and Financial Engineering. Springer New York, first edition.
- Bitcoin transaction confirmation time prediction: A classification view. In Web Information Systems Engineering – WISE 2022, pages 155–169, Cham. Springer International Publishing.