Bitcoin-Qt: Tx fee weirdness #1570

issue Diapolo openend this issue on July 8, 2012
  1. Diapolo commented at 5:04 pm on July 8, 2012: none

    Using current Git master and want to send all coins from a wallet to another one.

    • try to send 0.0128772 BTC
    • message that a Tx fee of 0.001 BTC is needed, so I can’t send
    • try to send 0.0113772 BTC (All coins - Tx fee of 0.001 BTC)
    • message that Tx is over size and I need a Tx fee of 0.0005

    Is there a way to get the final Tx fee sum in one info message?

  2. gmaxwell commented at 5:31 pm on July 8, 2012: contributor

    0.0128772 - 0.001 = 0.0118772 > 0.0113772.

    By lowering it more than you needed to you left an input out, making the transaction smaller… thus needing less fee. I don’t see any way of solving that directly.

    What I think would help would be options to “take any fee out of the amount being sent” which would remove that problem since the coin selection wouldn’t change, and would do exactly what you wanted for the ‘send all my coins case’. Also, an option to “round sent amount up, up to X btc”, useful when sending to another account of yours, would also tend to reduce fees fairly considerably… but I don’t know how UI for that stuff could be done in a non-confusing way.

  3. Diapolo commented at 8:01 pm on July 8, 2012: none
    At least a “send all and subtract the Tx fee”-option should be not that confusing in terms of UX as it’s rather straight forward. I never looked at that part of the code, but perhaps that get’s one of my next “targets”.
  4. gmaxwell commented at 9:15 pm on July 8, 2012: contributor
    @Diapolo Perhaps just a third option on the fee question? “yes, no, take it out of the amount being sent” ?
  5. laanwj commented at 6:09 am on July 9, 2012: member

    Or add a checkbox/combobox, otherwise you’d end up with a lot of text on a button.

    In banking software this is generally posed as “who pays the fee”, you or the recipient.

    Maybe show a warning when the sender wants to pay the fee but there isn’t enough balance to add the fee.

    BTW what if the fee counts towards the amount being sent, but it consumes the entire amount so that the recipient doesn’t receive anything? Can this happen?

  6. gmaxwell commented at 1:39 pm on July 9, 2012: contributor
    @laanwj It could certainly happen if the implementation was simplistic and if the payment was small (0.05 or less) or the user manually set a high BTC/KB. Good catch. I’m not quite sure how to avoid that without further complexifying the UI.
  7. ghost assigned laanwj on Sep 21, 2012
  8. Diapolo closed this on Sep 17, 2013

  9. laanwj reopened this on Mar 15, 2014

  10. laanwj added the label TX fees on May 9, 2014
  11. laanwj commented at 8:05 am on July 1, 2014: member
    Please help testing #4331, it tries to solve this.
  12. laanwj closed this on Jul 31, 2014

  13. laanwj commented at 8:14 am on July 31, 2014: member
    Closing as duplicate of #2724. Note: that pull (#4331) still desperately needs testing, if no one tests it and verifies the functionality, it cannot be merged.
  14. laanwj referenced this in commit 8ee6ccd4f0 on Feb 26, 2015
  15. laanwj referenced this in commit e30f1044d4 on Mar 5, 2015
  16. laanwj referenced this in commit a7cd8c2f22 on Mar 5, 2015
  17. laanwj referenced this in commit d18e3d23b3 on Mar 5, 2015
  18. laanwj referenced this in commit 292623adf5 on Mar 13, 2015
  19. suprnurd referenced this in commit 0fc13434b4 on Dec 5, 2017
  20. lateminer referenced this in commit e99a18e410 on May 6, 2020
  21. MarcoFalke locked this on Sep 8, 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: 2024-11-25 09:12 UTC

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