Skip to content

Conversation

achow101
Copy link
Member

Similar to #18654, instead of a single fee bumping action that changes its behavior based on IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS), separate it to have one that always tries to sign and send, and another that copies a psbt to the clipboard. So a new menu action is added and the original action will be disabled if private keys are disabled.

Split from #18627

Instead of changing GUI bumpfee behavior based on private keys,
make a separate menu action to do that.
@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 15, 2020

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@Sjors
Copy link
Member

Sjors commented Apr 23, 2020

I'm not a fan of cluttering the UI with disabled options. You could hide them instead. But then it's not very clear to me what the point is of this change.

Schermafbeelding 2020-04-23 om 18 06 01

@luke-jr
Copy link
Member

luke-jr commented Apr 24, 2020

This would likely confuse users as-is.

Can we simplify the workflow so it always makes a PSBT, but in a way that users can easily sign+broadcast?

Perhaps the PSBT dialog can become like the current bump-fee dialog unless an expert-mode option is enabled?

@instagibbs
Copy link
Member

instagibbs commented Apr 24, 2020

@Sjors I think this change(along with others) is to de-couple the concept of "disabled private keys" and being able to easily make PSBT stuff in GUI. f.e., in a descriptor wallet you may have 1 of the 3 privkeys in the wallet, so you may want to be able to have both buttons/options displayed to avoid having to figure out solveability.

@Sjors
Copy link
Member

Sjors commented Apr 26, 2020

I'd rather achieve that by adding a bumpfee dialog, and having a "make PSBT" checkbox. Such a dialog is useful anyway, in order to specify an amount.

@achow101
Copy link
Member Author

Since this action does eventually bring up a dialog, I can change this to add a button to that dialog.

@achow101
Copy link
Member Author

Can we simplify the workflow so it always makes a PSBT, but in a way that users can easily sign+broadcast?

I've simplified this workflow by changing SendConfirmationDialog instead. This has been unified with #18656 in #18789.

@achow101 achow101 closed this Apr 27, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants