mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Add backup reminder after encrypting a wallet from settings #709
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#709
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?
Context
When someone encrypts in qt widgets there's the reminder to update the backups or make new backups, if we have a design for that we should at that page here, if not let's make an issue to track adding this
Originally posted by @jarolrod in https://github.com/bitcoin-core/gui-qml/pull/551#discussion_r3255868937
Scope
WalletPasswordSettings.qmlor the relevant wallet settings flow.Acceptance Criteria
Will need a bit of design
I reproduced the recovery consequence of the missing reminder: a backup made before Set password does not recover payments received at newly generated addresses afterward.
Core intentionally generates a new seed and active descriptors when first encrypting a descriptor wallet. The QML issue is that the successful Set password flow returns to Wallet settings without explaining that another backup is needed.
Steps to reproduce
before.bak.before.bakunder a separate wallet name.The original wallet contains 1.5 BTC. The old backup restores only 1 BTC and does not own the new receiving address. The newer backup restores the full 1.5 BTC.
The active change descriptors are replaced too, so this also affects recovery of later change outputs. The receive case above was reproduced; the change-output consequence follows from the descriptor replacement in Core.
After successful first-time encryption, QML should explain that previous backups do not contain the new keys and offer Back up wallet. The reminder should not appear after failed encryption or an ordinary change of an existing password.
Reproduced on
qt6atd567e3eb2497, macOS arm64, Qt 6.9.0, using disposable regtest wallets.