Bitcoin Forum
May 12, 2024, 07:39:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Create transaction with lower than minimum fee?  (Read 176 times)
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


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

Posts: 1715542773

View Profile Personal Message (Offline)

Ignore
1715542773
Reply with quote  #2

1715542773
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715542773
Hero Member
*
Offline Offline

Posts: 1715542773

View Profile Personal Message (Offline)

Ignore
1715542773
Reply with quote  #2

1715542773
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
August 17, 2019, 06:27:54 PM
Merited by joniboini (2), bones261 (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
Legendary
*
Offline Offline

Activity: 2408
Merit: 5599


Self-proclaimed Genius


View Profile
August 18, 2019, 03:35:10 AM
Merited by joniboini (2), ABCbits (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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
jnano (OP)
Member
**
Offline Offline

Activity: 301
Merit: 74


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!