mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
gui: Adds option to not load the wallet after migration
This commit is contained in:
@@ -323,7 +323,7 @@ public:
|
||||
virtual util::Result<std::unique_ptr<Wallet>> restoreWallet(const fs::path& backup_file, const std::string& wallet_name, std::vector<bilingual_str>& warnings, bool load_after_restore) = 0;
|
||||
|
||||
//! Migrate a wallet
|
||||
virtual util::Result<WalletMigrationResult> migrateWallet(const std::string& name, const SecureString& passphrase) = 0;
|
||||
virtual util::Result<WalletMigrationResult> migrateWallet(const std::string& name, const SecureString& passphrase, bool load_wallet) = 0;
|
||||
|
||||
//! Returns true if wallet stores encryption keys
|
||||
virtual bool isEncrypted(const std::string& wallet_name) = 0;
|
||||
|
||||
Reference in New Issue
Block a user