Skip to content

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

Description

@johnny9

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.

Priority

v1.0 / P2 secondary restore/migration parity item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv1.0Required or tracked for v1.0 releasewallet

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions