Legacy backup restore: add restore-and-migrate flow #629

Open
opened 2026-05-06 08:55:36 +00:00 by johnny9 · 0 comments
johnny9 commented 2026-05-06 08:55:36 +00:00 (Migrated from github.com)

Code Gap

The QML app can route an already-discovered legacy wallet through migration, and the restore/import flow can show errors for backups that need migration. It does not yet provide an integrated flow to restore a legacy wallet backup and migrate it as part of the restore path.

Work Needed

  • Detect when a selected backup requires migration during restore/import.
  • Route the user through a migration confirmation and passphrase prompt when needed.
  • Restore or stage the backup using the chosen target wallet name before migration.
  • Clean up partial restore state if migration is cancelled or fails.
  • Show clear success, warning, and failure states for restore-and-migrate.
  • Add coverage for unencrypted legacy backup, encrypted legacy backup, wrong passphrase, cancel, failure cleanup, and success.
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/87 --> ## Code Gap The QML app can route an already-discovered legacy wallet through migration, and the restore/import flow can show errors for backups that need migration. It does not yet provide an integrated flow to restore a legacy wallet backup and migrate it as part of the restore path. ## Work Needed - Detect when a selected backup requires migration during restore/import. - Route the user through a migration confirmation and passphrase prompt when needed. - Restore or stage the backup using the chosen target wallet name before migration. - Clean up partial restore state if migration is cancelled or fails. - Show clear success, warning, and failure states for restore-and-migrate. - Add coverage for unencrypted legacy backup, encrypted legacy backup, wrong passphrase, cancel, failure cleanup, and success.
Sign in to join this conversation.
No description provided.