diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-03-26 12:29:08 +0100 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-05 22:17:50 +0200 |
commit | 827f52add07a562185b8b5445b252132481cb6b0 (patch) | |
tree | 070c7b704d6572b89d767d1c386557cb25aebd16 /src/wallet/api/wallet_manager.h | |
parent | Merge pull request #5390 (diff) | |
download | monero-827f52add07a562185b8b5445b252132481cb6b0.tar.xz |
wallet: API changes to enable passphrase entry
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet_manager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet/api/wallet_manager.h b/src/wallet/api/wallet_manager.h index 0c83d794f..235f96e17 100644 --- a/src/wallet/api/wallet_manager.h +++ b/src/wallet/api/wallet_manager.h @@ -40,7 +40,7 @@ class WalletManagerImpl : public WalletManager public: Wallet * createWallet(const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t kdf_rounds = 1) override; - Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds = 1) override; + Wallet * openWallet(const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds = 1, WalletListener * listener = nullptr) override; virtual Wallet * recoveryWallet(const std::string &path, const std::string &password, const std::string &mnemonic, @@ -72,7 +72,8 @@ public: const std::string &deviceName, uint64_t restoreHeight = 0, const std::string &subaddressLookahead = "", - uint64_t kdf_rounds = 1) override; + uint64_t kdf_rounds = 1, + WalletListener * listener = nullptr) override; virtual bool closeWallet(Wallet *wallet, bool store = true) override; bool walletExists(const std::string &path) override; bool verifyWalletPassword(const std::string &keys_file_name, const std::string &password, bool no_spend_key, uint64_t kdf_rounds = 1) const override; |