aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-07-03 11:33:11 +0900
committerstoffu <stoffu@protonmail.ch>2018-07-03 18:07:20 +0900
commita4272de79746c2349a0da8371f45390989cc6b90 (patch)
tree6778bc6bcc9fe3447bd9d34a9768d891e248e291 /src/wallet/api/wallet.h
parentMerge pull request #4067 (diff)
downloadmonero-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.h3
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;