<p>zero fee txs get into blocks all the time. many pools accept zero fee txs that have sufficiently high priority. that is, the inputs are aged and of high value.</p>

CC BY-SA 3.0
2014-09-23T01:32:04.317Z
2014-09-23T01:32:04.317Z
uminatsu
<p>Zero-fee transactions are permitted by the protocol rules, but there is no incentive to give away block space without getting paid for it. Generally zero-fee transactions are a thing of the past since the 0.12.0 release disabled coin-age-priority as a criteria for transaction selection during block building.</p>
<p>By default, nodes today only relay transactions that pay at least 1 s/vB (250 s/kwu). The same minimum feerate applies also when selecting transactions for block templates. Generally, transactions that pay less age away without getting confirmed (and most likely don't get relayed in the first place).</p>
<p>This may change slightly if/when <a href="https://github.com/bitcoin/bips/pull/1324" rel="nofollow noreferrer">package relay</a> is deployed, which would facilitate transaction packages to be included together in blocks that in sum pay more than the minimum feerate even while some of the transactions in the package may pay less than that individually.</p>

CC BY-SA 4.0
2022-07-12T19:55:19.607Z
2022-07-12T20:16:18.647Z
2022-07-12T20:16:18.647Z
Murch
<p>What happens if a transaction is set to have zero fees?
Can it get into a block?</p>

<p>Also, if you updated a coin's code to accept zero-fee transactions, would this cause a hardfork?</p>

<p>(e.g. made tx's in certain denominations return a tx.GetMinFee() of 0)</p>

<transaction-fees><block><transaction-selection><coin-age-priority><blockspace-market>
Can zero-fee txs get into a block?
Matthew Darnell
# Can zero-fee txs get into a block?

(Asked by: username_0 on 2014-09-23)

What happens if a transaction is set to have zero fees?
Can it get into a block?

Also, if you updated a coin's code to accept zero-fee transactions, would this cause a hardfork?

(e.g. made tx's in certain denominations return a tx.GetMinFee() of 0)

**Tags:** transaction-fees, block, transaction-selection, coin-age-priority, blockspace-market


---

## 2 answers

### Answer by username_1 on 2014-09-23. Score: 1 | Accepted answer

zero fee txs get into blocks all the time. many pools accept zero fee txs that have sufficiently high priority. that is, the inputs are aged and of high value.


---

### Answer by username_2 on 2022-07-12. Score: 2

Zero-fee transactions are permitted by the protocol rules, but there is no incentive to give away block space without getting paid for it. Generally zero-fee transactions are a thing of the past since the 0.12.0 release disabled coin-age-priority as a criteria for transaction selection during block building.

By default, nodes today only relay transactions that pay at least 1 s/vB (250 s/kwu). The same minimum feerate applies also when selecting transactions for block templates. Generally, transactions that pay less age away without getting confirmed (and most likely don't get relayed in the first place).

This may change slightly if/when [package relay](https://github.com/bitcoin/bips/pull/1324) is deployed, which would facilitate transaction packages to be included together in blocks that in sum pay more than the minimum feerate even while some of the transactions in the package may pay less than that individually.


---

