Add command line option allowing to restrict the default sub-address lookahead in order to avoid

so looooong time of set-up when creating a HW based wallet.
This commit is contained in:
stoffu
2018-03-16 13:11:45 +09:00
committed by cslashm
parent a14eabc043
commit b86f1e5dad
3 changed files with 84 additions and 1 deletions
+1
View File
@@ -635,6 +635,7 @@ namespace tools
std::string get_subaddress_label(const cryptonote::subaddress_index& index) const;
void set_subaddress_label(const cryptonote::subaddress_index &index, const std::string &label);
void set_subaddress_lookahead(size_t major, size_t minor);
std::pair<size_t, size_t> get_subaddress_lookahead() const { return {m_subaddress_lookahead_major, m_subaddress_lookahead_minor}; }
/*!
* \brief Tells if the wallet file is deprecated.
*/