diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-12-13 13:51:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-12-13 13:51:14 +0200 |
commit | f5c2a5ec9ce1156ab05aa3e9b35a55a68fe90f00 (patch) | |
tree | ce8f72ce1f67a8594856ee403642dc549e82ae24 /src/wallet/wallet2.h | |
parent | Merge pull request #205 (diff) | |
parent | Add simple_wallet::seed_set_language method (diff) | |
download | monero-f5c2a5ec9ce1156ab05aa3e9b35a55a68fe90f00.tar.xz |
Merge pull request #200
cfc8c55 Add simple_wallet::seed_set_language method (warptangent)
26b87df Add wallet2::verify_password method (warptangent)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index f22c5d79d..5486efb0e 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -153,6 +153,11 @@ namespace tools void rewrite(const std::string& wallet_name, const std::string& password); void load(const std::string& wallet, const std::string& password); void store(); + + /*! + * \brief verifies given password is correct for default wallet keys file + */ + bool verify_password(const std::string& password); cryptonote::account_base& get_account(){return m_account;} // upper_transaction_size_limit as defined below is set to |