Display sendable (effective) balance #15767

issue gmaxwell opened this issue on April 7, 2019
  1. gmaxwell commented at 7:00 PM on April 7, 2019: contributor

    Right now the wallet can overstate the amount of funds that the user can send, causing frustration when the user goes to actually make a payment and find themselves unable.

    This case happens when the wallet consists primarily of a large amount of near dust outputs during higher fee periods.

    The wallet should have probably some kind of indicator that shows the amount that could be sent by a all-greater-than-zero-effective-value (probably a single P2WSH output for estimation purposes?) transaction, perhaps with a control to adjust the feerate and defaulting to the current default feerate E.g. "Spendable Balance: ~0.12345 at feerate [0.00001 BTC/kvb]↕"

  2. gmaxwell commented at 7:07 PM on April 7, 2019: contributor

    Making the downsides of creating really low value outputs more legible would also help people make better decisions in how they manage their wallets.

  3. fanquake added the label Feature on Apr 7, 2019
  4. fanquake added the label Wallet on Apr 7, 2019
  5. promag commented at 10:53 PM on April 8, 2019: member

    Anyway, this could cause distress/confusion like "How can I spend the remaining balance?!" and so I think we should first make sure:

    • near dust changes are avoided - or show a warning?
    • coin selection could include extra input(s) if it's worth it.
  6. fanquake added the label GUI on Apr 8, 2019
  7. gmaxwell commented at 1:37 AM on May 13, 2020: contributor

    Coin selection already does those things-- it tries to get change to be at least 0.01 btc... and it also tries to make changeless payments (essentially being willing to throw away up to the cost of spending the future change as extra fee).

  8. pinheadmz commented at 2:18 PM on April 27, 2023: member

    This issue is unlikely to be fixed in Bitcoin Core. We'll close for now, but feel free to open another issue or pull request with a fix.

  9. pinheadmz closed this on Apr 27, 2023

  10. bitcoin locked this on Apr 26, 2024

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-18 21:14 UTC

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