Transaction Selection

Transaction selection is how miners choose which pending crypto transactions to include in a new block.

3 min read
mining

Definition

Transaction selection is the process miners use to choose which pending transactions go into the next block. Because block space is limited, miners cannot always include every valid transaction waiting in the network. The selection process usually favors transactions that pay the most fee for the amount of space they use.

How It Works

When a user broadcasts a transaction, nodes check that it follows the network rules and then place it in the mempool. Each node has its own mempool view based on the transactions it has received and accepted.

A miner or mining pool builds a block template from that local mempool. The template includes a coinbase transaction, which pays the miner, plus a set of ordinary user transactions. In most cases, mining software ranks transactions by fee rate, meaning the fee paid per unit of block space.

This matters because some transactions are larger than others. A transaction with many inputs may use more space than a simple payment, so miners compare fees relative to size instead of only looking at the total fee.

Selection is also affected by dependencies. If one transaction spends the output of another unconfirmed transaction, the miner may need to include both together. A low-fee parent transaction may still be included when its child transaction pays enough extra fee.

Miners may also filter transactions by minimum fee rates, standardness rules, or local configuration. These policies do not change consensus rules, but they influence which valid transactions are likely to be mined quickly.

Why It Matters

Transaction selection directly affects miner revenue. A better selection strategy can increase the total transaction fees earned from a block, especially when the network is busy and users are competing for limited block space.

It also affects users. Transactions with higher fee rates usually confirm sooner, while lower-fee transactions may wait until demand falls. For miners, efficient selection helps turn available hash rate into the highest practical reward without changing the proof-of-work process itself.

Transaction selection also has decentralization implications. If only a few large pools decide which transactions are included, they can shape confirmation behavior across much of the network. Tools that give miners more control over templates can reduce that influence.