Wallet migration includes rescan #930

issue fanquake opened this issue on February 18, 2026
  1. fanquake commented at 12:35 PM on February 18, 2026: member

    Users may want to migrate legacy wallets they haven't used in years. The migration itself is typically very quick, but it's followed by a rescan (if the wallet is behind).

    Depending on whether the user has -blockfilterindex enabled, this rescan takes somewhere between long and really really long.

    There's no visual indication, only the logs show what's going on:

    <img width="383" alt="Image" src="https://github.com/user-attachments/assets/da911b44-8052-4b90-aa16-67625e550e3e" />

    Ideally the migration should finish and then prompt the user that a rescan is about to happen. That way the user can abort the rescan and resume it some other time if it takes too long.

    Alternatively, the migrate wallet dialog could at least warn that a rescan is (or may be) happening and could take a while.

    Fun aside: block filters don't work on legacy wallets, so it's much faster to first migrate and then rescan.

  2. fanquake commented at 12:35 PM on February 18, 2026: member
  3. achow101 commented at 6:20 PM on February 18, 2026: member

    This is not a GUI issue.

  4. achow101 closed this on Feb 18, 2026

  5. fanquake reopened this on Feb 18, 2026

  6. fanquake commented at 6:24 PM on February 18, 2026: member

    Pease elaborate. It's asking for visual output, in the GUI.

  7. a89alkurdi-coder commented at 12:18 PM on June 20, 2026: none

    Easy

  8. bitcoin-core blocked a user on Jun 20, 2026
  9. ShauryaaSharma commented at 8:17 PM on June 20, 2026: none

    Opened a fix in #943.

    The problem is that MigrateWalletActivity::do_migrate() calls migrateWallet() as a single blocking operation that performs both the wallet conversion and the blockchain rescan internally. During the entire wait, the progress dialog shows "Migrating Wallet…" with no indication that a potentially hours-long rescan is running, the only way to know is to tail the debug log.

    Taking the alternative approach mentioned in the issue since separating migration from rescan would require wallet backend changes. The fix adds a rescan warning to the informative text of both confirmation dialogs (migrate() and restore_and_migrate()) so users know what to expect before clicking Confirm, and updates the progress dialog label in do_migrate() to state that a blockchain rescan will follow, giving context during the wait.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-28 21:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me