Skip to main content
QUICK REVIEW

[Paper Review] Predicting the confirmation time of Bitcoin transactions

David Koops|arXiv (Cornell University)|Sep 21, 2018
Blockchain Technology Applications and SecurityComputer Science2 references12 citations
TL;DR

This paper models Bitcoin transaction confirmation times as a Cramér-Lundberg stochastic fluid queue, proposing two approximations: a lower bound for light traffic and a diffusion approximation with continuity correction for heavy traffic. The key contribution is a highly accurate method for predicting confirmation times under varying network congestion, especially useful during high-fee periods when users need to estimate how long their transaction will wait in the mempool.

ABSTRACT

We study the probabilistic distribution of the confirmation time of Bitcoin transactions, conditional on the current memory pool (i.e., the queue of transactions awaiting confirmation). The results of this paper are particularly interesting for users that want to make a Bitcoin transaction during `heavy-traffic situations', when the transaction demand exceeds the block capacity. In such situations, Bitcoin users tend to bid up the transaction fees, in order to gain priority over other users that pay a lower fee. We argue that the time until a Bitcoin transaction is confirmed can be modelled as a particular stochastic fluid queueing process (to be precise: a Cramér-Lundberg process). We approximate the queueing process in two different ways. The first approach leads to a lower bound on the confirmation probability, which becomes increasingly tight as traffic decreases. The second approach relies on a diffusion approximation with a continuity correction, which becomes increasingly accurate as traffic intensifies. The accuracy of the approximations under different traffic loads are evaluated in a simulation study.

Motivation & Objective

  • To address the challenge of predicting transaction confirmation times in Bitcoin during periods of high network congestion, when transaction fees spike and users face long delays.
  • To model the mempool as a stochastic fluid queue, specifically a Cramér-Lundberg process, to capture the probabilistic dynamics of transaction confirmation.
  • To develop practical, computationally efficient approximations for confirmation time probabilities that are accurate across different traffic intensities (light to heavy).
  • To evaluate the accuracy of these approximations through extensive simulation studies under varying network loads and initial queue positions.
  • To provide actionable guidance for users and systems on estimating confirmation times based on fee levels and current mempool conditions.

Proposed method

  • Model the Bitcoin mempool as a Cramér-Lundberg process, where transaction arrivals are deterministic and block confirmations are stochastic fluid jumps.
  • Use a lower bound approximation derived from renewal theory, which becomes increasingly tight as traffic load (c) decreases.
  • Apply a diffusion approximation with a continuity correction to better capture the hitting time distribution of the fluid queue, especially under high traffic (c → 1).
  • Calibrate the correction term using the expected jump size E[S₁], estimated as 0.36403 at c=0.95 and 0.57833 at c=0.25.
  • Validate the approximations via 300,000 simulations across multiple traffic regimes (c=0.25, 0.5, 0.75, 0.95) and initial queue positions (x=1, x=4).
  • Compare the simulated confirmation probabilities with both the lower bound and corrected diffusion approximation to assess accuracy.

Experimental results

Research questions

  • RQ1How accurately can the confirmation time of a Bitcoin transaction be predicted when the network is under heavy load?
  • RQ2What is the performance of a lower bound approximation for confirmation probability in low-traffic scenarios?
  • RQ3How does a diffusion approximation with continuity correction compare to simulation results in high-traffic conditions?
  • RQ4How does the accuracy of the approximations vary with traffic intensity (c) and initial queue position (x)?
  • RQ5Can the Cramér-Lundberg process with fixed jumps converge to a Brownian motion under appropriate scaling, leading to an inverse Gaussian limit for confirmation times?

Key findings

  • The corrected diffusion approximation significantly outperforms the uncorrected version, especially in heavy-traffic regimes (c=0.95), where it closely matches simulation results.
  • The lower bound approximation is tightest in light traffic (c ≤ 0.5), with bounds within one standard deviation of simulated values for confirmation probabilities between 90% and 100%.
  • At c=0.25 and x=1, the simulated confirmation probability after 8 blocks was 0.991, while the lower bound gave 0.990, showing strong agreement.
  • At c=0.95 and x=1, the simulated confirmation probability after 8 blocks was 0.985, and the corrected diffusion approximation closely tracked this value.
  • The lower bound becomes looser as traffic increases, indicating it is less suitable for high-congestion scenarios.
  • The simulation results support the conjecture that the Cramér-Lundberg process with fixed jumps converges to a Brownian motion under appropriate scaling, suggesting convergence to an inverse Gaussian distribution for hitting times.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.