diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-17 16:49:34 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-17 16:49:34 +0200 |
commit | 1e2fd27189e17599501fba1e87fd24ebf4aa6338 (patch) | |
tree | d2665e8ba098f8cd80899526d846ad6ae02b1c96 /src/wallet/wallet2.h | |
parent | Merge pull request #3416 (diff) | |
parent | Add command line option allowing to restrict the default sub-address lookahea... (diff) | |
download | monero-1e2fd27189e17599501fba1e87fd24ebf4aa6338.tar.xz |
Merge pull request #3412
b86f1e5d 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. (stoffu)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 46f1ddc2d..11edfd316 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -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. */ |