Skip to content
Market MoodExtreme Fear12
Market Cap: $2.09T −3.19%24h Vol: $71.36BBTC: $59,951 −0.87%
NewsMarketsBitcoinEthereumAltcoinsAsiaWeb3EventsAbout Us
LanguageENRU
Subscribe Pro
Bitcoin

Bitcoin blocks hold 4 million weight units and miners pick who gets in

Each full node keeps its own waiting room, and Bitcoin Core drops the cheapest transactions once its 300 megabyte mempool fills.

· 2 min read
a bit coin sitting on top of a pile of coins
Photo by Michael Förtsch on Unsplash

A Bitcoin block can hold only 4 million weight units, about 1 million virtual bytes, and miners choose which payments fit. When demand runs past that limit, the transactions left out stay unconfirmed and their senders have to bid again with higher fees.

Bitcoin does not work first come, first served. A payment broadcast hours ago can sit while one sent seconds ago is confirmed in the next block, because mining pools sort by fee rate, measured in satoshis per virtual byte, rather than by amount or arrival time. New blocks are found roughly every ten minutes.

BitcoinBTC · 24h
$59,951−0.87%

The arithmetic explains the choice. A 200 virtual byte transaction paying 1,000 satoshis offers 5 satoshis per virtual byte. A 150 virtual byte transaction paying 1,500 satoshis offers 10 and takes less room, so miners generally prefer it. Some transactions depend on earlier unconfirmed ones, and mining software judges those pairs together. Pools can also take payments through private arrangements.

Nothing is settled once a miner picks a transaction. Every full node checks new blocks against the same consensus rules, and a block over the weight limit is rejected. The 4 million weight unit cap came in with Segregated Witness in August 2017.

Waiting payments sit in the mempool, and there is no single queue. Each full node keeps its own, so a payment visible on one block explorer may be missing from another node's list. Bitcoin Core defaults to a 300 megabyte mempool.

When that memory fills, the software evicts the least attractive transactions and raises its minimum acceptance fee. Bitcoin Core's default expiry is 336 hours, or 14 days, though transactions can vanish from individual mempools sooner. Eviction does not move coins: if the inputs are still unspent, the sender can rebroadcast or replace the payment.

Frequently asked questions

What happens to a Bitcoin transaction that does not fit in a block?

It stays unconfirmed in the mempool, the pool of waiting transactions each full node keeps. It can be confirmed later if fees rise or demand falls, or be dropped from a node's memory and need rebroadcasting.

Who decides which Bitcoin transactions get confirmed?

Miners and mining pools choose which transactions go into the blocks they propose, usually by fee rate. Full nodes then check the block against consensus rules and reject it if it breaks them.

How long can an unconfirmed Bitcoin transaction wait?

Bitcoin Core's default expiry is 336 hours, or 14 days, but transactions can be evicted from individual mempools much sooner when blocks are full.

Sources

  • Bitcoin.com News: What Happens When a Bitcoin Block Is Full, and Who Decides Who Gets In?

Not financial advice. Crypto assets are volatile and you can lose money. Read our Financial Risk Disclosure.

BitcoinmempoolSegregated WitnessBitcoin Coremining poolsMining
Newsletter

Get the BitcoinEast Daily

Top crypto news, analysis, and market insights, delivered every day.