diff options
author | Lee Clagett <code@leeclagett.com> | 2016-12-17 18:07:15 -0500 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2016-12-19 20:00:43 -0500 |
commit | 2bddb8ebee4b25f2f73e6476dd1019459d8a1aca (patch) | |
tree | cc1edfe5d2b0ff388f68db03ce82bcec71ee201a /src/simplewallet/simplewallet.h | |
parent | Merge pull request #1464 (diff) | |
download | monero-2bddb8ebee4b25f2f73e6476dd1019459d8a1aca.tar.xz |
Refactored password prompting for wallets
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, |