aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-03 11:13:23 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-03 11:27:46 +0000
commit20171746de19a9036a2a87e1929632433796925e (patch)
tree7c1c0868b9e308d3daf16a2a9a66d99447d6b521 /src/wallet/wallet2.h
parentwallet2: factor new blockchain setup (diff)
downloadmonero-20171746de19a9036a2a87e1929632433796925e.tar.xz
wallet2: factor the creation of a new wallet keys file
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 9d74cbf15..84d7475f1 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -544,8 +544,9 @@ namespace tools
* \param wallet_ Name of wallet file
* \param password Password of wallet file
* \param device_name name of HW to use
+ * \param create_address_file Whether to create an address file
*/
- void restore(const std::string& wallet_, const epee::wipeable_string& password, const std::string &device_name);
+ void restore(const std::string& wallet_, const epee::wipeable_string& password, const std::string &device_name, bool create_address_file);
/*!
* \brief Creates a multisig wallet
@@ -1242,6 +1243,7 @@ namespace tools
void cache_tx_data(const cryptonote::transaction& tx, const crypto::hash &txid, tx_cache_data &tx_cache_data) const;
void setup_new_blockchain();
+ void create_keys_file(const std::string &wallet_, bool watch_only, const epee::wipeable_string &password, bool create_address_file);
cryptonote::account_base m_account;
boost::optional<epee::net_utils::http::login> m_daemon_login;