used balance should be shown on overview page #769

issue achow101 openend this issue on October 15, 2023
  1. achow101 commented at 4:42 pm on October 15, 2023: member

    Please describe the feature you’d like to see added.

    A wallet with the avoid_reuse flag has an additional balances field named used. This is available through getbalances. It should also be shown on the overview page with the other balances.

    No response

    Describe the solution you’d like

    No response

    Describe any alternatives you’ve considered

    No response

    Please leave any additional context

    No response

  2. achow101 added the label Feature on Oct 15, 2023
  3. BrandonOdiwuor commented at 8:47 am on November 3, 2023: contributor

    Created two PRs on this issue:

  4. hebasto commented at 10:26 am on May 12, 2025: member

    Cross-posting @luke-jr’s comment from #775:

    What is the use case here? (And the avoid_reuse flag in general…)

  5. hebasto added the label Wallet on May 12, 2025
  6. katesalazar commented at 3:46 pm on May 12, 2025: contributor

    @luke-jr I don’t remember which post to quote or link, the idea was:

    Algorithm to deal with forced address reuse attack utxos:

    • If the unlock script has not ever been revealed:
      • All attack utxos are to be spent together with the non-attack utxos in the spending event.
    • If the unlock script has already been revelead:
      • All attack utxos are to be ignored forever.

    For this algorithm makes sense to have a configuration in order to allow the wallet operator to ignore reused addresses.

    I guess one could alternatively have a companion script for checking reused addresses and burn the attacking utxos or spend them in a controlled way, but if the node doesn’t ignore them, there’d be always a minimum risk that the funds are used before any observing operator or script gets to spend or burn them.

    Hope that helped.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-05-31 19:20 UTC

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