mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:03:39 +00:00
Newly created watch-only wallets should not accept just an xpub #954
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#954
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Accepting an just an xpub commits 2 of the cardinal sins of descriptor wallets:
Further, it also assumes a birth date, which has other downstream effects on wallet behavior.
Creating a watch-only wallet should either make an entirely blank watch-only wallet and let the user import their descriptors later, or go directly into a descriptor import workflow.
@achow101 partially cont. from an offline discussion:
The user should be prompted for descriptor paths, spending types, and birth date if they know these things (birth date is useful because it saves time during rescanning)
But if they don't know one or more of these we should try our best to guess them.