Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jnano on August 17, 2019, 06:16:58 PM



Title: Create transaction with lower than minimum fee?
Post by: jnano on August 17, 2019, 06:16:58 PM
What's a simple way to create in Core a transaction with a fee < 1000 sat/kb? (That's kvbyte, right?)

Does the testnet behave the same as far as fees are concerned?


Title: Re: Create transaction with lower than minimum fee?
Post by: achow101 on August 17, 2019, 06:27:54 PM
The only way to do that is to use createrawtransaction and manually specify the inputs and outputs. However Bitcoin Core will refuse to relay that transaction because it is lower than the minimum fee rate.

(That's kvbyte, right?)
Yes

Does the testnet behave the same as far as fees are concerned?
Yes


Title: Re: Create transaction with lower than minimum fee?
Post by: nc50lc on August 18, 2019, 03:35:10 AM
You can also set -mintxfee to lower than 0.00001; and you should set -minrelaytxfee to the same value for your own node to accept it.

Add these to your bitcoin.conf file (0.1sat/b minimum):
Code:
# [relay]
minrelaytxfee=0.000001

# [wallet]
mintxfee=0.000001

Warning:
  • By doing so, your node will start to relay <1sat/b TXs.
  • The <1sat/b TXs that you will create still wont be relayed by nodes with default minrelayfee.


Title: Re: Create transaction with lower than minimum fee?
Post by: jnano on August 18, 2019, 05:03:04 PM
Thanks. That's what I was aiming for initially.

Turns out the conf parameters are case sensitive, so minTxFee is no good. :)