Bitcoin Forum
May 09, 2024, 03:40:53 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?
1715226053
Hero Member
*
Offline Offline

Posts: 1715226053

View Profile Personal Message (Offline)

Ignore
1715226053
Reply with quote  #2

1715226053
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715226053
Hero Member
*
Offline Offline

Posts: 1715226053

View Profile Personal Message (Offline)

Ignore
1715226053
Reply with quote  #2

1715226053
Report to moderator
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!