Refactored password prompting for wallets

This commit is contained in:
Lee Clagett
2016-12-17 18:07:15 -05:00
parent 5fcf7c1c18
commit 2bddb8ebee
7 changed files with 225 additions and 375 deletions
+3
View File
@@ -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,