aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2016-12-17 18:07:15 -0500
committerLee Clagett <code@leeclagett.com>2016-12-19 20:00:43 -0500
commit2bddb8ebee4b25f2f73e6476dd1019459d8a1aca (patch)
treecc1edfe5d2b0ff388f68db03ce82bcec71ee201a /src/simplewallet/simplewallet.h
parentMerge pull request #1464 (diff)
downloadmonero-2bddb8ebee4b25f2f73e6476dd1019459d8a1aca.tar.xz
Refactored password prompting for wallets
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r--src/simplewallet/simplewallet.h3
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,