Never sends fees with less than paytxfee #6479

issue RHavar opened this issue on July 27, 2015
  1. RHavar commented at 1:30 PM on July 27, 2015: contributor

    If you set the tx fees as 100 bits / kilobyte, even if the transaction is substantially less than a kilobyte it will always pay a minimum of 100 bits of fees. This translates to often be x3 what you would expect it to be, and not consistent with the priority code.

    This means:

    bitcoin-cli settxfee `bitcoin-cli estimatefee 2`
    

    is very unlike actually having the estimated fee target as 2.

    Another side effect of this, is that the when using paytxfee it has an extremely unpredictable fee priority, as the true fee/kilobyte can easily vary by a factor of x3. When using paytxfee, I've noticed some transactions confirm in the next block (for fee reasons) while others have been stuck >5 blocks

  2. laanwj added the label Wallet on Jul 28, 2015
  3. laanwj added the label Priority Medium on Jul 28, 2015
  4. RHavar commented at 11:03 PM on September 7, 2015: contributor

    Looking a bit deeper, this seems to be caused by:

    fPayAtLeastCustomFee

    https://github.com/bitcoin/bitcoin/blob/536207f3167daad1fa3d60a1de7d9cb55db28ac9/src/wallet/wallet.cpp#L2132-L2133

    which is enabled by default, with the only way to disable it through the qt wallet.

    Is there any compelling reason this even exists, and shouldn't be removed entirely?

  5. laanwj closed this on Dec 1, 2015

  6. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me