Author

Topic: How to set minimum fee for outcoming transactions (Read 936 times)

newbie
Activity: 19
Merit: 0
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.
sr. member
Activity: 476
Merit: 250
DannyHamilton explained it very correctly.

Try to adjust satoshi/Byte rate around 100, at least.
legendary
Activity: 3472
Merit: 4794
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.
full member
Activity: 140
Merit: 100
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.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
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?
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
full member
Activity: 140
Merit: 100
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?
Jump to: