BtcFlow is a Bitcoin fee estimation model that treats the blockchain mempool as a flow system — analyzing how transactions enter, stay, and exit it over time. By simulating transaction inflow, mempool state, and outflow under different feerates, it determines the minimum fee rate needed to clear pending transactions within a given interval. While its design improves accuracy in predicting confirmation times, BtcFlow faces limitations due to assumptions about block size, confidence parameters, and block generation intervals.BtcFlow is a Bitcoin fee estimation model that treats the blockchain mempool as a flow system — analyzing how transactions enter, stay, and exit it over time. By simulating transaction inflow, mempool state, and outflow under different feerates, it determines the minimum fee rate needed to clear pending transactions within a given interval. While its design improves accuracy in predicting confirmation times, BtcFlow faces limitations due to assumptions about block size, confidence parameters, and block generation intervals.

BtcFlow: Modeling Bitcoin’s Mempool Dynamics to Predict Optimal Feerates

Abstract and 1. Introduction

  1. Preliminaries
  2. Problem definition
  3. BtcFlow
  4. Bitcoin Core (BCore)
  5. Mempool state and linear perceptron machine learning (MSLP)
  6. Fee estimation based on neural network (FENN)
  7. Experiments
  8. Conclusion, Acknowledgements, and References

4 BtcFlow

BtcFlow[2] infers the transaction fee based on analysing the rate of transaction entering the mempool and transaction confirmation leaving the mempool within a given time interval. Specifically, it models the blockchain mempool as a container with an inflow pouring in (transaction submission) and an outflow flowing out at at a specified rate (transaction confirmation is assumed following a specific poisson distribution). The ultimate aim is to empty the container within the given time (the mempool is emptied with no unconfirmed transactions left). During the procedure, the estimated transaction feerate serves as a valve to regulate the input flow so that the container can be emptied within the given time.

\ In terms of data sources, the future inflow is simulated using the confirmed transactions in the Bitcoin blockchain, the outflow is calculated through a specified function, and the container begins with the unconfirmed transactions in the current mempool. Thus, the general estimation procedure of BtcFlow can be formulated as:

\

4.1 Estimation procedure

BtcFlow works under the assumption that transaction confirmation follows the rules that higher feerate transactions always have priority to be confirmed earlier than the lower ones. It means that when estimating the transaction fee, BtcFlow only needs to focus on estimating the minimum boundary feerate transactions which can ensure the unconfirmed transactions with higher feerates ( equal to or larger than the minimum fee rate) can be drained within the given time. The estimating process can be divided into two parts: The modelling process, which is designed to analyse the inflow stream, current container state, and the outflow stream of all feerate-range transactions in the given expected time interval, and The estimation process, which is used to generate the target transaction feerate based on the simulated data streams. The process is illustrated in Fig. 1 (and Algorithm 1).

\ – Modeling process. In this process, BtcFlow monitor three data streams of transactions in terms of their transaction feerates: (1) the submitted transactions entering the mempool (the inflow), (2) the unconfirmed transactions in the current mempool (the current container state), and (3) the confirmed transactions leaving the mempool (the outflow). Considering that the value of feerate is continuous, it is impractical to compare the transaction flow at each feerate scale. As a result, Btcflow makes

\ Table 1: Features in different models

\ Fig. 1: BtcFlow Framework.

\ a trade-off between the accuracy of its estimations and the complexity of its computations. For simplicity, BtcFlow discretizes the original feerate scales into different integer scales (rounding up the original feerate value to the nearest integer). It means that BtcFlow models each flow on an integer scale.

\

\

\ – Estimation process. The estimation process is to find the minimum feerate to ensure the outflow stream of transactions with higher feerates exceeds (or equals) the input stream and current mempool states of the mempool. BtcFlow’s simulation on transaction confirmation in Equation (4) shows that the outflow confirmation is simply dependent on variables p and ϑ. In other words, the outflow O is constant for a given p and ϑ as shown in Equation (4). As Btcflow tests on lower feerate results, the inflow stream and mempool states involve more lower feerate transactions. The inflow and mempool states will eventually exceed the outflow. The feerate next to this border feerate will be returned by BtcFlow.

\ Basically, the transaction inflow volume I can be calculated as:

\

\ , which represents the increase volume in the mempool coming from higher feerates. The current mempool volume of higher feerates M is:

\

\

\

4.2 Algorithm analysis

By simulating newly submitted transactions entering the mempool, transactions in the mempool and transaction confirmation in the blockchain, BtcFlow returns the smallest feerate to ensure that the confirmation exceeds the inflow submission and current transactions in the mempool within the expected time interval. However, this model is faced with several limitations in its outflow modeling:

\ – It assumes that a size of BLOCK of higher-feerate transactions will be confirmed within a block interval. In fact, in the blockchain system, some smaller feerate transactions can also be confirmed in a block due to some reasons. In addition, the size of a block can be various in the blockchain and BLOCK is the upper bound of a block.

\ – The possibility parameter p can fail to work. BtcFlow calculates block generation using three different confidence intervals: ‘optimistic’, ‘standard’ and ‘cautious’ with the possibility parameter p ∈ {0.5, 0.8, 0.9}. In some cases, p may not work. According to the result for ϑ = 10 in Table 3, the estimated block count cϑ = 0 under p = 0.8 and p = 0.9, which means that p fails to control the accuracy of block generation as effectively as it should be.

\ – The assumption of a 10-minute block generation interval may be incorrect. In the Bitcoin blockchain system, the time it takes to generate a block varies.

\ Table 3: The estimated block count cϑ generated in the expected time ϑ (minutes) according to different possibility p

\

:::info Authors:

(1) Limeng Zhang, Swinburne University of Technology, Melbourne, Australia (limengzhang@swin.edu.au);

(2) Rui Zhou Swinburne, University of Technology, Melbourne, Australia (rzhou@swin.edu.au);

(3) Qing Liu, Data61, CSIRO, Hobart, Australia (q.liu@data61.csiro.au);

(4) Chengfei Liu, Swinburne University of Technology, Melbourne, Australia (cliu@swin.edu.au);

(5) M.Ali Babar, The University of Adelaide, Adelaide, Australia (ali.babar@adelaide.edu.au).

:::


:::info This paper is available on arxiv under CC0 1.0 UNIVERSAL license.

:::

[2] https://bitcoiner.live/

Market Opportunity
FLOW Logo
FLOW Price(FLOW)
$0,08147
$0,08147$0,08147
%0,00
USD
FLOW (FLOW) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Wormhole launches reserve tying protocol revenue to token

Wormhole launches reserve tying protocol revenue to token

The post Wormhole launches reserve tying protocol revenue to token appeared on BitcoinEthereumNews.com. Wormhole is changing how its W token works by creating a new reserve designed to hold value for the long term. Announced on Wednesday, the Wormhole Reserve will collect onchain and offchain revenues and other value generated across the protocol and its applications (including Portal) and accumulate them into W, locking the tokens within the reserve. The reserve is part of a broader update called W 2.0. Other changes include a 4% targeted base yield for tokenholders who stake and take part in governance. While staking rewards will vary, Wormhole said active users of ecosystem apps can earn boosted yields through features like Portal Earn. The team stressed that no new tokens are being minted; rewards come from existing supply and protocol revenues, keeping the cap fixed at 10 billion. Wormhole is also overhauling its token release schedule. Instead of releasing large amounts of W at once under the old “cliff” model, the network will shift to steady, bi-weekly unlocks starting October 3, 2025. The aim is to avoid sharp periods of selling pressure and create a more predictable environment for investors. Lockups for some groups, including validators and investors, will extend an additional six months, until October 2028. Core contributor tokens remain under longer contractual time locks. Wormhole launched in 2020 as a cross-chain bridge and now connects more than 40 blockchains. The W token powers governance and staking, with a capped supply of 10 billion. By redirecting fees and revenues into the new reserve, Wormhole is betting that its token can maintain value as demand for moving assets and data between chains grows. This is a developing story. This article was generated with the assistance of AI and reviewed by editor Jeffrey Albus before publication. Get the news in your inbox. Explore Blockworks newsletters: Source: https://blockworks.co/news/wormhole-launches-reserve
Share
BitcoinEthereumNews2025/09/18 01:55
Trading Psychology After a Losing or Winning Streak

Trading Psychology After a Losing or Winning Streak

Winning and losing streaks affect traders more than most realise. Psychology, not strategy, often determines what happens next. 📉 After a losing streak
Share
Medium2026/01/24 19:32
The Longevity Pivot: Is Regenerative Medicine Disrupting the Global Under Eye Filler Market?

The Longevity Pivot: Is Regenerative Medicine Disrupting the Global Under Eye Filler Market?

We have historically treated the aging face much like a distressed asset: patch the cracks, paint over the damage, and hope the structure holds for another fiscal
Share
Techbullion2026/01/24 19:30