Skip to content

Conversation

achow101
Copy link
Member

Instead of having the Send button mutate into a Create Unsigned button when IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS), have a second button that always creates a psbt. The original Send button will then not change its behavior and just disable itself when private keys are disabled.

#17509 does a refactor that makes this easier, so this PR is dependent on that.

Split from #18627

@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.

@achow101 achow101 force-pushed the make-unsigned-button branch from 2474e98 to 5f80564 Compare April 16, 2020 16:37
Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK.

Instead of changing Send to make an unsigned tx for wallets with
private keys disabled, have a separate button for that functionality
and disable Send for such wallets.
@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 send confirmation dialog unless an expert-mode option is enabled?

@instagibbs
Copy link
Member

I think sticking this behind an expert mode switch is probably the right thing to do at a minimum.

@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 #18655 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants