Bitcoin Forum
December 12, 2017, 01:03:00 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Tx Fee  (Read 1166 times)
ninoara
Newbie
*
Offline Offline

Activity: 1


View Profile
November 04, 2015, 07:33:54 AM
 #1

Hi All,

in the help you can see:

 -paytxfee=<amt>        Fee (in BTC/kB) to add to transactions you send (default: 0.00)

But, when I am trying to set the tx fee to 0 in the regtest mode, as in each transaction there is an amount subtracted from the balance, I receive the following error:

root@alice:/# bitcoin-cli -regtest -paytxfee=0.00 -sendfreetransactions -daemon -printtoconsole                                                                             
Bitcoin server starting
root@alice:/# Error: Invalid amount for -paytxfee=<amount>: '0.00' (must be at least 0.00001000 BTC/kB)
Error: Invalid amount for -paytxfee=<amount>: '0.00' (must be at least 0.00001000 BTC/kB)
Shutdown: In progress...
StopNode()
Shutdown: done

Why?
1513040580
Hero Member
*
Offline Offline

Posts: 1513040580

View Profile Personal Message (Offline)

Ignore
1513040580
Reply with quote  #2

1513040580
Report to moderator
1513040580
Hero Member
*
Offline Offline

Posts: 1513040580

View Profile Personal Message (Offline)

Ignore
1513040580
Reply with quote  #2

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

Activity: 102


View Profile
November 05, 2015, 06:06:32 PM
 #2

Code:
Error: Invalid amount for -paytxfee=<amount>: '0.00' (must be at least 0.00001000 BTC/kB)

There you have it.  If you specify -paytxfee you MUST set it to .00001/kB or more.  If you want it to be 0.00 just leave the flag off, the default value is 0.00

oshi.io Bitcoin Casino Fun!
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!