diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:46:09 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:46:09 +0200 |
commit | 4c24eb050bd549341fdb7bcde37d0d2f121a879a (patch) | |
tree | a673b72180fd08587a91d4c1afcbc79f8e34a6e7 /src/wallet/wallet2.h | |
parent | Merge pull request #2237 (diff) | |
parent | Enable verifying wallet password with having to load wallet. (diff) | |
download | monero-4c24eb050bd549341fdb7bcde37d0d2f121a879a.tar.xz |
Merge pull request #2238
ad4649ac Enable verifying wallet password with having to load wallet. (m2049r)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 9f3ec2f3c..62ab9c0b1 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -129,6 +129,8 @@ namespace tools //! Just parses variables. static std::unique_ptr<wallet2> make_dummy(const boost::program_options::variables_map& vm); + static bool verify_password(const std::string& keys_file_name, const std::string& password, bool watch_only); + wallet2(bool testnet = false, bool restricted = false) : m_run(true), m_callback(0), m_testnet(testnet), m_always_confirm_transfers(true), m_print_ring_members(false), m_store_tx_info(true), m_default_mixin(0), m_default_priority(0), m_refresh_type(RefreshOptimizeCoinbase), m_auto_refresh(true), m_refresh_from_block_height(0), m_confirm_missing_payment_id(true), m_ask_password(true), m_min_output_count(0), m_min_output_value(0), m_merge_destinations(false), m_is_initialized(false), m_restricted(restricted), is_old_file_format(false), m_node_rpc_proxy(m_http_client, m_daemon_rpc_mutex) {} struct transfer_details |