gui icon indicating copy to clipboard operation
gui copied to clipboard

Dialog for allowing the user to choose the change output when bumping a tx

Open achow101 opened this issue 2 years ago • 6 comments

Based on https://github.com/bitcoin/bitcoin/pull/26467

Implements a GUI dialog for allowing the user to choose the output to reduce when bumping a transaction. This adds the functionality that was added to the RPC.

achow101 avatar Jan 23 '23 21:01 achow101

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept ACK luke-jr
Approach ACK john-moffett, w0xlt

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

No conflicts as of last run.

DrahtBot avatar Jan 23 '23 21:01 DrahtBot

Can you add a screenshot to the PR description (and one for the single-output case)?

Sjors avatar Jan 24 '23 13:01 Sjors

Can we be a bit more bold and just assume that a change address is change, and not show the dialog in that case? Ideally we don't show such a dialog more often than necessary.

Sjors avatar Jan 24 '23 17:01 Sjors

That would prevent the case where you wanted to deduct the extra fee from the recipient, such as when you initially selected "Subtract fee from amount".

Ideally, you'd only show the dialog if that were selected previously, but I don't think it's persisted anywhere. Eg -

https://github.com/bitcoin-core/gui/blob/30f553d45797847166109a161628dba3bf00bc94/src/qt/sendcoinsrecipient.h#L42

I could be wrong, though.

john-moffett avatar Jan 24 '23 17:01 john-moffett

Concept ACK. I'd just show "Change" for the change, though. End users shouldn't need to know about change addresses.

luke-jr avatar Jun 23 '23 01:06 luke-jr

Rebased and fixed the build issue in the first commit.

achow101 avatar Oct 04 '24 20:10 achow101

test_bitcoin-qt fails in the CI: https://github.com/bitcoin-core/gui/actions/runs/11186485220.

hebasto avatar Oct 29 '24 15:10 hebasto

🚧 At least one of the CI tasks failed. Task previous releases, depends DEBUG: https://github.com/bitcoin-core/gui/runs/31101606803 LLM reason (✨ experimental): The CI failure is due to a build error in bumpfeechoosechangedialog.cpp.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

DrahtBot avatar May 17 '25 16:05 DrahtBot

Are you still working on this?

achow101 avatar Oct 22 '25 14:10 achow101