Bitcoin Forum
May 30, 2024, 09:11:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Tx Fee  (Read 1302 times)
ninoara (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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

Activity: 102
Merit: 10


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:  

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