diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:46:58 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:46:58 +0200 |
commit | 6847999fb84d153e56731a9e006b13e9962d80ea (patch) | |
tree | 99b245b60e0b8e917874ffac57e2dce3984d1d14 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #1469 (diff) | |
parent | Refactored password prompting for wallets (diff) | |
download | monero-6847999fb84d153e56731a9e006b13e9962d80ea.tar.xz |
Merge pull request #1472
2bddb8eb Refactored password prompting for wallets (Lee Clagett)
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 420597699..c3e14a8cc 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -81,6 +81,9 @@ namespace cryptonote void wallet_idle_thread(); + //! \return Prompts user for password and verifies against local file. Logs on error and returns `none` + boost::optional<tools::password_container> get_and_verify_password() const; + bool new_wallet(const boost::program_options::variables_map& vm, const crypto::secret_key& recovery_key, bool recover, bool two_random, const std::string &old_language); bool new_wallet(const boost::program_options::variables_map& vm, const cryptonote::account_public_address& address, |