Legacy Wallet Migration Flow #517

Closed
opened 2026-02-28 16:54:38 +00:00 by johnny9 · 2 comments
johnny9 commented 2026-02-28 16:54:38 +00:00 (Migrated from github.com)

Summary

Add legacy wallet migration UX around walletLoader().migrateWallet.

Complexity

  • L

Dependencies

  • 10
  • 12
  • 02

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Detect migration-eligible wallets.
  • Add migration flow with passphrase prompt where needed.
  • Display migration output, backup path, and follow-up actions.
  • Handle partial migration and rollback messaging.

Acceptance Criteria (DoD-Aligned)

  1. Eligible wallet can be migrated from UI.
  2. Failure and partial warning conditions are clearly explained.
  3. Migration backup location is shown to user.

Required Tests

  • C++ unit tests: Unit tests for migration result mapping and edge-case handling.
  • QML QTest: QTests for migration confirmation, password, and result states.
  • Python E2E (qml/test/testbridge.h): E2E migration scenario with success + forced failure path checks.

Implementation Notes

  • Document limitations in feature note because design coverage is currently not explicit.
## Summary Add legacy wallet migration UX around `walletLoader().migrateWallet`. ## Complexity - `L` ## Dependencies - `10` - `12` - `02` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Detect migration-eligible wallets. - Add migration flow with passphrase prompt where needed. - Display migration output, backup path, and follow-up actions. - Handle partial migration and rollback messaging. ## Acceptance Criteria (DoD-Aligned) 1. Eligible wallet can be migrated from UI. 2. Failure and partial warning conditions are clearly explained. 3. Migration backup location is shown to user. ## Required Tests - C++ unit tests: Unit tests for migration result mapping and edge-case handling. - QML QTest: QTests for migration confirmation, password, and result states. - Python E2E (`qml/test/testbridge.h`): E2E migration scenario with success + forced failure path checks. ## Implementation Notes - Document limitations in feature note because design coverage is currently not explicit.
GBKS commented 2026-03-23 10:54:30 +00:00 (Migrated from github.com)

Do we have screenshots of the current QT flow that we could base a design on?

Do we have screenshots of the current QT flow that we could base a design on?
johnny9 commented 2026-05-11 21:47:40 +00:00 (Migrated from github.com)

Do we have screenshots of the current QT flow that we could base a design on?

https://github.com/user-attachments/assets/bcae88c7-3375-4008-a9c1-0bf704b88507

> Do we have screenshots of the current QT flow that we could base a design on? https://github.com/user-attachments/assets/bcae88c7-3375-4008-a9c1-0bf704b88507
Sign in to join this conversation.
No description provided.