arXiv:2610.22451cs.CROct 2026

Manuscript Offprint

arXiv:2610.22451

Capital Costs Protect the Network: Mining Gap Dynamics in Proof-of-Work Blockchains Under a Stochastic Mempool

Hasan Selçuk Kılıç, Nail Akar

Abstract

Proof-of-Work blockchains increasingly rely on transaction fees to keep miners engaged as block subsidies decline. An immediate outcome of this is that miners may sit idle at the start of a round until enough high-fee transactions accumulate in order to make mining worthwhile. This idle period is known as the mining gap. We model the high-fee transaction backlog as a Lindley-type recursion under a two-tier fee market and use its stationary distribution to characterize the mining gap. Under Bitcoin’s difficulty-adjustment mechanism, the expected gap grows strictly with the hashpower active on the network and consumes the entire round as that hashpower grows without bound. A free-entry condition determines a unique long-run equilibrium hashpower. Capital cost caps the equilibrium hashpower and prevents the mining gap from occupying the entire round. We further characterize how the block subsidy, transaction fees, and operating cost shape the equilibrium hashpower and the mining gap.

Key words: proof-of-work, mining gap, blockchain security, transaction fees, capital costs

Funding: The authors received no funding for this research.

1 Introduction

Since its introduction by Nakamoto, Bitcoin’s Proof-of-Work (PoW) consensus mechanism has underpinned trust in a fully decentralized and adversarial environment (Nakamoto 2008a). The blockchain is a shared ledger that records all confirmed transactions in a chain of blocks. The participants who add new blocks to this chain are called miners. Miners compete to extend the blockchain by solving cryptographic puzzles. The miner who finds a block is rewarded with block subsidies (newly minted coins) and the transaction fees that users pay to have their transactions included in that block (Nakamoto 2008a, Bitcoin Project 2026a). Each attempt to solve the cryptographic puzzle succeeds with a small probability. The number of attempts a miner makes per unit of time is called its hashpower, and a miner with more hashpower is more likely to find the next block. Every 2016 blocks, Bitcoin’s difficulty-adjustment mechanism makes the puzzle harder or easier so that blocks keep arriving about every ten minutes on average (Bitcoin Project 2026a). We call the time between two consecutive blocks a round.

For most of Bitcoin’s history, the block subsidy has dominated miner revenue. However, the halving schedule cuts the block subsidy in half roughly every four years (Carlsten et al. 2016, Bitcoin Project 2026a). This results in a shift toward a fee-dominated regime, where transaction fees become the primary source of miner revenue (Carlsten et al. 2016, Easley et al. 2019). This transition raises concerns about the security of the network, as miners may be less incentivized to participate if transaction fees are insufficient to cover their costs (Capponi et al. 2023). Miners face two kinds of costs (Carlsten et al. 2016, Budish 2025, Kim and Seo 2026). Operating costs are the costs of running the mining hardware, such as electricity, and miners pay them only while they mine. Capital costs are the costs of owning the hardware, and miners pay them whether they mine or stay idle. The umbrella term for the problem of whether fees will cover these costs once the subsidy shrinks is “security budget”, representing the total budget for incentivizing miners to secure the network (Ciaian et al. 2021, Budish 2025). There are active debates about whether this security budget will be sufficient, and the security budget argument is frequently used to justify protocol or monetary-policy proposals (Ciaian et al. 2021, Budish 2025). “Tail emission” is one policy aimed directly at the security budget problem by providing a nonzero block subsidy indefinitely (The Monero Project 2022). This policy is implemented in cryptocurrencies such as Monero and Dogecoin (The Monero Project 2022, Dogecoin Core Developers 2026), and has also been discussed in the Bitcoin context as a possible hard-fork change to the subsidy schedule (Todd 2022). This would depart from Nakamoto’s original fee-transition design, which anticipated that the mining incentive could eventually transition to transaction fees once the coin supply reached its predetermined limit (Nakamoto 2008a,b).

One concern that arises in a fee-dominated regime that is related to the security budget is the mining gap, an idle period at the start of each round during which accumulated transaction fees are insufficient to cover miners' operating costs, making mining temporarily unprofitable. The gap forms at the start of the round because each newly found block removes the highest-fee waiting transactions, so the next block initially has little fee revenue to offer. We call a miner honest if it always extends the longest chain and publishes each block as soon as it finds one, as Bitcoin's protocol prescribes (Nakamoto 2008a, Carlsten et al. 2016). An honest miner still decides when to run its hardware. During this gap, all honest miners are expected to be idle. An idle period might look harmless, or even desirable, since idle miners use no electricity. From a security standpoint, however, this is a serious concern. The work of honest miners is what protects a PoW blockchain from attackers. To reverse a confirmed payment, an attacker must build a competing chain of blocks that grows faster than the chain extended by honest miners (Nakamoto 2008a). Even while honest miners work, the honest chain grows only when one of them solves the puzzle, and this can take some time. When they stop working, the honest chain is guaranteed to stop growing, and the attacker can gain ground in this race without any competition. The electricity that honest miners save during the gap is therefore protection that the network gives up (Goren and Spiegelman 2019). Nakamoto's original security analysis assumes that miners are always active (Nakamoto 2008a). A mining gap creates an advantage for adversaries that are not bound by the same economic incentives. An adversary who profits from the attack itself, for example by reversing a payment, has no reason to wait for fees to accumulate. Such adversaries can start mining immediately after a block is found, while honest miners wait for the gap to end. In this manner, even without a majority of the hashpower, adversaries can create problems such as double-spending attacks, selfish mining and fee sniping (Nakamoto 2008a, Rosenfeld 2014, Eyal and Sirer 2018, Bitcoin Optech 2026). A double-spending attacker reverses a payment after the recipient has accepted it, so a payment that looked settled is undone. A selfish miner withholds the blocks it finds. This wastes the work of honest miners and earns the attacker more than its share of hashpower would justify, which draws other miners to join the attacker and concentrates control of the network (Eyal and Sirer 2018). A fee sniper re-mines a recent block to take its fees and thereby replaces a block that the network had already accepted (Bitcoin Optech 2026).

Unconfirmed transactions wait in a pool called the mempool until a block includes them, and transactions that do not fit into one block wait there for the next. The fees available at the start of a round therefore depend on how long the earlier rounds lasted. Since the time needed to find a block is random, these fees are random as well. Carlsten et al. (2016) identified the mining gap through a simulation that keeps this carryover. The analytical models that followed assume instead that the fees available to miners reset to zero after every block (Tsabary and Eyal 2018, Noguchi 2026, Kim and Seo 2026). None of these studies derives the length of the mining gap when fees carry over between rounds. Security analyses of idle honest miners, such as Doger et al. (2024) and Doger et al. (2026), need this length but take it as a given input. This paper focuses on the mining gap problem with a stochastic model of the mempool that keeps this carryover. We derive the probability distribution of the length of the mining gap in this model and study how the gap responds to the aggregate hashpower and to the economic parameters of the network. Our contributions are as follows.

• We formalize the mining decision as a profit rate maximization problem over a long horizon. The miners form a non-atomic population, meaning that each miner holds a negligible share of the aggregate hashpower. We show that the myopic threshold-based rule is a weakly dominant strategy for every miner. The rule is myopic because it activates a miner as soon as the current reward rate covers the operating cost, without regard to future rounds. It is weakly dominant because no other strategy earns the miner a higher long-run profit rate, whatever strategies the other miners use.

• We derive the closed-form stationary distribution of the mining gap under a persistent stochastic mempool and a two-tier fee market. The stationary distribution gives the long-run distribution of the gap length within each epoch, which is the run of consecutive rounds between two difficulty adjustments. In the two-tier fee market, high-fee transactions arrive over time, and low-fee transactions are always available to fill the rest of a block. We model the high-fee transaction backlog with a Lindley-type recursion with a floor. The recursion tracks how unconfirmed high-fee transactions carry over from one block to the next, and the floor captures that mining does not start until enough of them have accumulated. We first formulate its transient round-by-round distribution. Subsequently, from the mempool distribution, we derive the stationary distribution of the mining gap and its expectation for each winning probability. The winning probability is the probability that a single attempt at the puzzle succeeds, and Bitcoin’s difficulty-adjustment mechanism tunes it to keep blocks arriving at a target pace.

• The difficulty-adjustment mechanism stops changing the winning probability once the average round length equals its target. Following Kim and Seo (2026), we characterize this invariant winning probability under our mempool model and analyze its stability. The invariant winning probability is stable when the winning probability returns to it after a small disturbance.

• We show that the expected mining gap is strictly increasing in the aggregate hashpower under the stochastic mempool model. When hashpower grows, the difficulty-adjustment mechanism makes the puzzle harder so that blocks still arrive at the target pace. At a given level of fees, each unit of hashpower then earns less per unit of time, so miners wait for more fees before they start. As the aggregate hashpower grows without bound, the expected gap approaches the full length of a round, and an attacker who mines continuously needs an ever smaller share of the aggregate hashpower to outpace the honest chain. Carlsten et al. (2016) reach a similar conclusion in a simplified model in which no fees carry over between blocks.

• We analyze the long-run equilibrium hashpower, the no-gap condition, and the parameter effects on network security under the same model. By parameter effects we mean the direction in which each security metric moves when a single parameter, such as the block subsidy, increases while the others stay fixed. Since miners keep joining the network only while their revenue covers both of their costs, a positive capital cost keeps the equilibrium hashpower finite and stops the gap from taking up the whole round. A larger block subsidy shortens the gap and raises the equilibrium hashpower.

• We estimate the inputs of the model from Bitcoin data of 2026 and follow the model along the halving schedule. With free entry and the estimated costs, a gap forms only after several more halvings, in 2044 or 2056 in our scenarios, or not before 2070 if fees fall in bitcoin. It lasts about two and a half minutes per ten-minute round by 2070, and the invariant winning probability stays stable. If no miner could enter or leave the network after 2026, a gap would instead form after the next one or two halvings, unless the bitcoin price rose enough to offset them, and the invariant winning probability would be unstable for many years. A higher ratio of operating to capital cost, for example from cheaper mining hardware, brings the gap forward, lengthens it and can make the invariant winning probability unstable.

The rest of the paper is organized as follows. Section 2 reviews related work. Section 3 describes the mining process and our model, and Section 4 derives the myopic activation rule. Section 5 derives the aggregate behavior of the miners, and Section 6 derives the stationary distributions of the backlog and the mining gap. Section 7 analyzes the difficulty-adjustment mechanism and its invariant winning probability. Section 8 defines the security metrics. Section 9 shows how the mining gap grows with the aggregate hashpower, and Section 10 determines the equilibrium hashpower when miners can freely join or leave the network. Sections 11 and 12 study how the parameters prevent and reduce the mining gap, and Section 13 illustrates the results with Bitcoin data. Section 14 discusses the scope of the results, and Section 15 concludes. Proofs are in the e-companion.

References (63)