diff options
author | stoffu <stoffu@protonmail.ch> | 2018-06-04 16:54:35 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-06-21 12:36:17 +0900 |
commit | 248310de0666d9c12e6e861043386419da63f3b1 (patch) | |
tree | 2e4101062a43ab76c6fcabb54a946d4b4b479e34 /src/common/util.h | |
parent | wallet2: lower default for subaddress lookahead when restoring with hardware (diff) | |
download | monero-248310de0666d9c12e6e861043386419da63f3b1.tar.xz |
Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp
Diffstat (limited to '')
-rw-r--r-- | src/common/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 7caf0e3c5..dc426830b 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -32,6 +32,7 @@ #include <boost/thread/locks.hpp> #include <boost/thread/mutex.hpp> +#include <boost/optional.hpp> #include <system_error> #include <csignal> #include <cstdio> @@ -214,4 +215,6 @@ namespace tools bool sha256sum(const std::string &filename, crypto::hash &hash); bool is_hdd(const char *path); + + boost::optional<std::pair<uint32_t, uint32_t>> parse_subaddress_lookahead(const std::string& str); } |