Bitcoin Forum
January 29, 2020, 10:42:29 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Create transaction with lower than minimum fee?  (Read 114 times)
jnano
Member
**
Offline Offline

Activity: 287
Merit: 53


View Profile
August 17, 2019, 06:16:58 PM
Merited by OmegaStarScream (1)
 #1

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?
1580294549
Hero Member
*
Offline Offline

Posts: 1580294549

View Profile Personal Message (Offline)

Ignore
1580294549
Reply with quote  #2

1580294549
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1580294549
Hero Member
*
Offline Offline

Posts: 1580294549

View Profile Personal Message (Offline)

Ignore
1580294549
Reply with quote  #2

1580294549
Report to moderator
1580294549
Hero Member
*
Offline Offline

Posts: 1580294549

View Profile Personal Message (Offline)

Ignore
1580294549
Reply with quote  #2

1580294549
Report to moderator
1580294549
Hero Member
*
Offline Offline

Posts: 1580294549

View Profile Personal Message (Offline)

Ignore
1580294549
Reply with quote  #2

1580294549
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 2016
Merit: 3046


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
August 17, 2019, 06:27:54 PM
Merited by bones261 (2), joniboini (2), jnano (1)
 #2

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

nc50lc
Hero Member
*****
Online Online

Activity: 854
Merit: 918


Self-proclaimed Genius ㊙️


View Profile WWW
August 18, 2019, 03:35:10 AM
Merited by joniboini (2), ETFbitcoin (1), jnano (1)
 #3

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.

jnano
Member
**
Offline Offline

Activity: 287
Merit: 53


View Profile
August 18, 2019, 05:03:04 PM
 #4

Thanks. That's what I was aiming for initially.

Turns out the conf parameters are case sensitive, so minTxFee is no good. Smiley
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!