diff options
author | stoffu <stoffu@protonmail.ch> | 2018-07-03 11:33:11 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-07-03 18:07:20 +0900 |
commit | a4272de79746c2349a0da8371f45390989cc6b90 (patch) | |
tree | 6778bc6bcc9fe3447bd9d34a9768d891e248e291 /src/wallet/api/wallet.h | |
parent | Merge pull request #4067 (diff) | |
download | monero-a4272de79746c2349a0da8371f45390989cc6b90.tar.xz |
wallet2: unlock keys file before calling verify_password (needed for Windows)
Also added notes to WalletManager::verifyWalletPassword (which afaik seems unused
by anyone at the moment) regarding the need to unlock the keys file beforehand.
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index eefb2fe94..58be686fc 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -188,6 +188,9 @@ public: virtual void segregatePreForkOutputs(bool segregate) override; virtual void segregationHeight(uint64_t height) override; virtual void keyReuseMitigation2(bool mitigation) override; + virtual bool lockKeysFile() override; + virtual bool unlockKeysFile() override; + virtual bool isKeysFileLocked() override; private: void clearStatus() const; |