3

I used to use sendtoaddress with bitcoind and a fixed 0.0001 btc transaction fee in the wallet UI to do the job and every transaction was sent without any problems.

Since version v0.12.0 I can see that the fee is not fixed, plus some transactions don't transmit to the network.

How can I send transaction with bitcoind that will be 100% relayed ?

-3

bitcoind by default has fee set to zero, change fee by running

:bitcoind settxfee 0.0001

  • But this will set a default per kilobyte , and not static per the all transaction . – Haddar Macdasi Jun 14 '16 at 8:09
  • 1
    I sincerely doubt that bitcoind defaults to a zero fee. – Murch Jun 15 '16 at 11:30
1

You can try:

txconfirmtarget=1

If paytxfee is not set, include enough fee so transactions begin confirmation on average within n blocks (default: 6).

So putting it equal to 1 will automatically set the fee to be included in the next block.

Note that this isn't a "fixed amount solution".

  • Since 0.14, you cannot ask for a confirmation target of 1 anymore, because there is basically no fee that can guarantee inclusion into the next block (it may happen within seconds, giving miners not enough time to include it). If you ask for 1, it will be rounded up to 2, or whatever number sufficient data is available for. – Pieter Wuille Aug 6 '17 at 3:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.