Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: jondecker76 on May 10, 2011, 02:03:40 AM



Title: How to set the transaction fee using bitcoind?
Post by: jondecker76 on May 10, 2011, 02:03:40 AM
I've searched everywhere, how do I set my transaction fee to 0.01?

bitcoind --rpcconnect=127.0.0.1 --help
does not list an option to set it

I have also tried:
bitcoind --rpcconnect=127.0.0.1 -paytxfee=0.01 sendtoaddress *************** 0.05

but I get the following error:
Code:
error: {"code":-4,"message":"Error: This transaction requires a transaction fee of at least 0.01 because of its amount, complexity, or use of recently received funds  "}


what am I doing wrong?  I'm trying to send the funds I received about 2 weeks ago from bitcoin faucet to my new install that I will be using from here on out.


Title: Re: How to set the transaction fee using bitcoind?
Post by: jondecker76 on May 10, 2011, 02:09:08 AM
ok, got it to send by paying a 0.01 txfee and sending 0.04 BTC (totaling the 0.05 BTC that was in my account)

So, can anyone confirm that this is the correct way to send BTC, by taking into account the transaction fee and manually adding it to the amount to be sent?


Title: Re: How to set the transaction fee using bitcoind?
Post by: db on May 10, 2011, 05:35:38 AM
Add

Code:
paytxfee=0.01

to bitcoin.conf and restart bitcoind.