Bitcoin Forum
May 05, 2024, 08:39:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: changing the transaction fee with bcoind  (Read 530 times)
bitcoinspot.nl (OP)
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250



View Profile WWW
November 21, 2013, 08:02:33 AM
 #1

Hi everyone,

i run a little script on my server to send some bitcoins now and then with bitcoind.
With the recent runup in the bitcoin price i wanted to change the transaction fee to 0.0001 but i cant seem to make it work.
regardless of the parameters i send to bitcoind it keeps sending a 0.0005 transaction fee.

Here the command line that i use:
bitcoind.exe" -rpcpassword=xxx -paytxfee=0.0001 sendtoaddress %address% 0.0001 "0.0001 to %email%" "0.0001 to %email%"

can anyone help me out ?
Greetz roland.

- bitcoinspot.nl - Alles over bitcoin! -
1714898376
Hero Member
*
Offline Offline

Posts: 1714898376

View Profile Personal Message (Offline)

Ignore
1714898376
Reply with quote  #2

1714898376
Report to moderator
1714898376
Hero Member
*
Offline Offline

Posts: 1714898376

View Profile Personal Message (Offline)

Ignore
1714898376
Reply with quote  #2

1714898376
Report to moderator
1714898376
Hero Member
*
Offline Offline

Posts: 1714898376

View Profile Personal Message (Offline)

Ignore
1714898376
Reply with quote  #2

1714898376
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714898376
Hero Member
*
Offline Offline

Posts: 1714898376

View Profile Personal Message (Offline)

Ignore
1714898376
Reply with quote  #2

1714898376
Report to moderator
1714898376
Hero Member
*
Offline Offline

Posts: 1714898376

View Profile Personal Message (Offline)

Ignore
1714898376
Reply with quote  #2

1714898376
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 21, 2013, 08:05:51 AM
 #2

I wouldn't change all that on the command line at once at startup.

Start bitcoind.

If you are using windows open a NEW command prompt window and type
bitcoind settxfee 0.0001

To verify type:
bitcoind getinfo

To send a tx type:
bitcoind sendtoaddress


The tx fee is per kB and the size is rounded up to the next full kB  If your tx is 5 kB it will be 5 x 0.1 mBTC = 0.5 mBTC.
Most tx are 1 kB but if you have a lot of low value inputs (i.e. spending 50x 0.00001 BTC outputs vs spending 1x 0.005 BTC output) then the tx can be much larger is size.  Size not value is what matters.
Also if the tx is low priority, has outputs less than 0.01 BTC or is larger than 10KB you have no choice but to pay the min mandatory fee of 0.1 mBTC per kB.  This is a spam prevention mechanism.
Foxpup
Legendary
*
Offline Offline

Activity: 4354
Merit: 3042


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
November 21, 2013, 11:16:54 AM
 #3

Please refrain from asking the same question multiple times, especially after it was already answered the first time.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
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!