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 | |
| parent | a14eabc0437c01ae9245bd9ba1641d96b889306a (diff) | |
| parent | b86f1e5dad3d5a9a07f3b6184802e5938afa57db (diff) | |
| download | monzero-core-1e2fd27189e17599501fba1e87fd24ebf4aa6338.tar.gz monzero-core-1e2fd27189e17599501fba1e87fd24ebf4aa6338.tar.xz monzero-core-1e2fd27189e17599501fba1e87fd24ebf4aa6338.zip | |
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')
| -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. */ |
