Repository navigation
Warn about rescan in wallet migration dialogs - #943
ShauryaaSharma wants to merge 1 commit into
Conversation
Migrating a legacy wallet triggers a blockchain rescan immediately after conversion. Depending on the chain size and whether -blockfilterindex is active, this rescan can take anywhere from minutes to hours, with no visual indication that anything is happening. Add a rescan warning to the informative text of both migration confirmation dialogs (migrate and restore-and-migrate) so users can plan accordingly before clicking Confirm. Also update the progress dialog label in do_migrate() to state that a blockchain rescan will follow migration, giving users context while the operation runs. Fixes bitcoin-core#930
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsReviewers, 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. |
|
Hi @hebasto @fanquake , gentle ping on this one! This is a small UX-only fix for wallet migration, no logic or behaviour changes, purely informational text updates confined to Problem: migrating a legacy wallet silently triggers a blockchain rescan that can take minutes to hours. The progress dialog just shows Three text-only changes in
Out of scope (noted for clarity): separating the migration step from the rescan would require wallet backend changes, this PR intentionally doesn't touch that. Happy to adjust the wording if it doesn't match the tone used elsewhere in the Qt dialogs. Fixes #930. |
|
Concept ACK |
|
an additional PR may include the multichain error handling and alerts. I noticed those need some attention. |
|
🐙 This pull request conflicts with the target branch and needs rebase. |
|
⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
|
Thank you for your contribution, and apologies that it has waited this long without a clear answer. There is a rough consensus among Bitcoin Core developers that the current Widgets-based GUI will be replaced with the modern QML-based one (https://github.com/bitcoin-core/gui-qml). Review capacity for the GUI is limited, and time spent on the current code delays its replacement. For that reason, the Widgets-based GUI is now effectively in maintenance mode: only fixes for regressions and serious bugs, and updates required by changes in the core code, are being considered. This PR falls outside that scope, so I am closing it. This is not a judgement on the quality of the work. If the underlying problem or idea is still relevant for the QML GUI, please consider raising or addressing it in https://github.com/bitcoin-core/gui-qml, where it will get more attention. If you believe this PR was closed in error, leave a comment here, and it can be reconsidered. |
Problem
Fixes #930.
Migrating a legacy wallet triggers an automatic blockchain rescan
immediately after the conversion completes. Depending on chain size
and whether
-blockfilterindexis enabled, this rescan can takeanywhere from minutes to hours. During this time the progress dialog
shows "Migrating Wallet…" with no indication that a rescan is
happening — only the debug log reveals what is going on.
Fix
Three changes, all in
MigrateWalletActivity:1 & 2 — Confirmation dialogs (
migrate()andrestore_and_migrate()): append a rescan warning to the informativetext so users know what to expect before clicking Confirm:
3 — Progress dialog (
do_migrate()): update the label from thebare "Migrating Wallet…" to also mention the rescan, so users who are
already in the waiting phase have context:
Notes
src/qt/walletcontroller.cpp.text.
migrateWallet()as a singleblocking call; separating migration from rescan would require wallet
backend changes and is out of scope here.