You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gui: Add restore_and_migrate function to restore then migrate a wallet
restore_and_migrate first restores a wallet file to the wallets
directory in the expected layout, then it performs legacy to descriptor
wallet migration on the restored wallet.
box.setWindowTitle(tr("Restore and Migrate wallet"));
497
+
box.setText(tr("Are you sure you wish to restore the wallet file <i>%1</i> to <i>%2</i> and migrate it?").arg(GUIUtil::HtmlEscape(path), GUIUtil::HtmlEscape(GUIUtil::WalletDisplayName(wallet_name))));
498
+
box.setInformativeText(tr("Restoring the wallet will copy the backup file to the wallets directory and place it in the standard "
499
+
"wallet directory layout. The original file will not be modified.\n\n"
500
+
"Migrating the wallet will convert the restored wallet to one or more descriptor wallets. A new wallet backup will need to be made.\n"
501
+
"If this wallet contains any watchonly scripts, a new wallet will be created which contains those watchonly scripts.\n"
502
+
"If this wallet contains any solvable but not watched scripts, a different and new wallet will be created which contains those scripts.\n\n"
503
+
"The migration process will create a backup of the wallet before migrating. This backup file will be named "
504
+
"<wallet name>-<timestamp>.legacy.bak and can be found in the directory for this wallet. In the event of "
505
+
"an incorrect migration, the backup can be restored with the \"Restore Wallet\" functionality."));
0 commit comments