diff options
author | stoffu <stoffu@protonmail.ch> | 2018-03-16 13:11:45 +0900 |
---|---|---|
committer | cslashm <cslashm@gmail.com> | 2018-03-16 18:00:28 +0100 |
commit | b86f1e5dad3d5a9a07f3b6184802e5938afa57db (patch) | |
tree | d2665e8ba098f8cd80899526d846ad6ae02b1c96 /src/wallet | |
parent | Merge pull request #3416 (diff) | |
download | monero-b86f1e5dad3d5a9a07f3b6184802e5938afa57db.tar.xz |
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.
Diffstat (limited to '')
-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. */ |