Merge pull request #4332
20171746wallet2: factor the creation of a new wallet keys file (moneromooo-monero)be6acfd5wallet2: factor new blockchain setup (moneromooo-monero)
This commit is contained in:
@@ -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
|
||||
@@ -1235,6 +1236,9 @@ 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;
|
||||
std::string m_daemon_address;
|
||||
|
||||
Reference in New Issue
Block a user