bitcoind – Bitcoin Core v23 utilizing extra inputs than vital costing extra charges

0
66


Sadly, the recommendation ChatGPT is giving is flawed (as normal).

Bitcoin Core makes use of a number of coin choice algorithms that every produce one enter set candidate after which picks one enter set from these in accordance with the waste metric.

The consolidatefeerate setting refers back to the feerate above which Bitcoin Core considers the feerate to be “excessive” and beneath which Bitcoin Core considers the feerate “low”. At excessive feerates, Bitcoin Core will choose the lightest enter set from the candidates the coin choice algorithms generate, whereas at low feerates Bitcoin Core will choose the heaviest enter set to help in consolidating funds whereas charges are low. By default, the pockets makes use of consolidatory habits as much as 10 ṩ/vB.

It feels like you could need to set consolidatefeerate=0.00001 (1/tenth of the default).

Bitcoin Core’s coin choice doesn’t at all times discover a minimal enter set, so it might use a number of inputs if that was the “lightest” enter set that was generated by the a number of coin choice algorithms. This occurs particularly in case your pockets accommodates lots of UTXOs which can be smaller than the quantity you’re sending.

There are two enhancements within the v24.0.1 launch that might assist with the state of affairs:

  • #24494 randomizes and lowers the minimal change quantity, so the burden of the enter set that will get chosen ought to usually be decrease
  • #24584 made the coin choice run parallel individually for all totally different output varieties within the pockets. If you happen to use totally different output varieties, it might trigger extra enter set candidates to be generated, which ought to enhance the end result of the above described alternative amongst them

I might advocate that you simply strive upgrading to the v24.0.1 launch, it might assist a bit. In the meantime, you could possibly strive use coin management to manually decide your UTXOs, or strive constructing a number of transactions and inspecting whether or not they’re acceptable to you, earlier than submitting them to the community.

I’ve some ideas on how that coin choice might be additional improved, e.g. we must always most likely add one other coin choice algorithm that generates a minimized enter set at very excessive feerates (e.g. 50+ ṩ/vB). Sadly, no one has gotten round to including that change but.
It will be useful for those who may submit a difficulty to the Bitcoin Core problem tracker that describes your expertise.

LEAVE A REPLY

Please enter your comment!
Please enter your name here