Bitcoin Forum
April 23, 2024, 10:28:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to set minimum fee for outcoming transactions  (Read 919 times)
MrsHash (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
April 04, 2017, 04:13:24 PM
 #1

I use bitcoin node v0.14.0 and can't set up minimum fee for outgoing transactions. I use next parameters:
mintxfee=0.0009
paytxfee=0.0009
txconfirmtarget=1

But actual fee is always much more lower then 0.0009. What am I doing wrong?
1713911338
Hero Member
*
Offline Offline

Posts: 1713911338

View Profile Personal Message (Offline)

Ignore
1713911338
Reply with quote  #2

1713911338
Report to moderator
1713911338
Hero Member
*
Offline Offline

Posts: 1713911338

View Profile Personal Message (Offline)

Ignore
1713911338
Reply with quote  #2

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

Posts: 1713911338

View Profile Personal Message (Offline)

Ignore
1713911338
Reply with quote  #2

1713911338
Report to moderator
1713911338
Hero Member
*
Offline Offline

Posts: 1713911338

View Profile Personal Message (Offline)

Ignore
1713911338
Reply with quote  #2

1713911338
Report to moderator
1713911338
Hero Member
*
Offline Offline

Posts: 1713911338

View Profile Personal Message (Offline)

Ignore
1713911338
Reply with quote  #2

1713911338
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3374
Merit: 6531


Just writing some code


View Profile WWW
April 04, 2017, 05:26:49 PM
 #2

Those settings set the fee rate in BTC/kB, not the actual fee itself. IIRC, there is no way to set an absolute fixed fee now because you really shouldn't be using an absolute fixed fee.

jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
April 04, 2017, 06:23:25 PM
 #3

I use bitcoin node v0.14.0 and can't set up minimum fee for outgoing transactions. I use next parameters:
mintxfee=0.0009
paytxfee=0.0009
txconfirmtarget=1

But actual fee is always much more lower then 0.0009. What am I doing wrong?

The fee you're setting there is a fee per kilobyte. Transactions with only one input script are about 250 bytes so the fee you pay will be 0.000175btc for that transaction.
You probably want to use dynamic fees though unless there's a reason you want to use fixed fees?
MrsHash (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
April 04, 2017, 07:35:45 PM
 #4

Yes, I want to use fixed fee to guarantee that transaction will be confirmed in about 2-3 blocks. Because I actually wait up to 20 hours currently for some transactions to get confirmed.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4606



View Profile
April 04, 2017, 08:53:23 PM
 #5

Yes, I want to use fixed fee to guarantee that transaction will be confirmed in about 2-3 blocks.

This is why you should NOT use fixed fee.

You CANNOT guarantee that transaction will be confirmed in about 2-3 blocks if you use fixed fee, since you may have a very big transaction and miners might choose to ignore your transaction.

Confirmation time depends on how much fee you pay PER BYTE.  If you use fixed fee, then the fee per byte will be small on big transactions (lots of inputs and/or outputs) and big on small transactions (only a few inputs and outputs).  The only way you can guarantee that the fee will ALWAYS be enough with fixed fee would be to pay a ridiculously high fee on small transactions.

Better would be to use a proper fee per byte (or fee per kilobyte).  Then you can provide the proper incentive to the miners so that they will be very likely to confirm your transaction in the next block or two.

Because I actually wait up to 20 hours currently for some transactions to get confirmed.

Then you need a higher fee PER BYTE.  You do NOT need a fixed fee.
Haladay
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
April 05, 2017, 05:40:23 PM
 #6

DannyHamilton explained it very correctly.

Try to adjust satoshi/Byte rate around 100, at least.
Blockonomics.co
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile WWW
April 06, 2017, 11:15:25 AM
 #7

If you're unsure of the fee you should set for your transaction, you could use https://bitcoinfees.21.co/ to check the appropriate fee per byte you should set.

Blockonomics.co also provides a fee wizard. You can simply type your address into the fee wizard, and it will suggest a transaction fee based on the inputs needed for the transaction, and the current network conditions.
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!