diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-07-27 14:22:34 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-07-27 14:22:34 -0500 |
commit | 92b5d6c204b4622760bd9029579d013adf580483 (patch) | |
tree | ac96d1cb46f10a68dd59646afbe6b2a2f0967bfa /src/wallet/wallet2.h | |
parent | Merge pull request #3629 (diff) | |
parent | wallet2: unlock keys file before calling verify_password (needed for Windows) (diff) | |
download | monero-92b5d6c204b4622760bd9029579d013adf580483.tar.xz |
Merge pull request #4091
a4272de wallet2: unlock keys file before calling verify_password (needed for Windows) (stoffu)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index d4d76e66c..220eca8a8 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -609,7 +609,7 @@ namespace tools /*! * \brief verifies given password is correct for default wallet keys file */ - bool verify_password(const epee::wipeable_string& password) const; + bool verify_password(const epee::wipeable_string& password); cryptonote::account_base& get_account(){return m_account;} const cryptonote::account_base& get_account()const{return m_account;} @@ -1146,6 +1146,9 @@ namespace tools bool unblackball_output(const crypto::public_key &output); bool is_output_blackballed(const crypto::public_key &output) const; + bool lock_keys_file(); + bool unlock_keys_file(); + bool is_keys_file_locked() const; private: /*! * \brief Stores wallet information to wallet file. |