mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
gui: Use wallet name for wallet migration rather than WalletModel
To prepare for migrating wallets that are not loaded, when migration occurs in the GUI, it should not rely on a WalletModel existing. Co-authored-by: furszy <matiasfurszyfer@protonmail.com>
This commit is contained in:
@@ -342,6 +342,9 @@ public:
|
||||
//! Migrate a wallet
|
||||
virtual util::Result<WalletMigrationResult> migrateWallet(const std::string& name, const SecureString& passphrase) = 0;
|
||||
|
||||
//! Returns true if wallet stores encryption keys
|
||||
virtual bool isEncrypted(const std::string& wallet_name) = 0;
|
||||
|
||||
//! Return available wallets in wallet directory.
|
||||
virtual std::vector<std::pair<std::string, std::string>> listWalletDir() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user