diff options
author | xiphon <xiphon@protonmail.com> | 2020-11-17 23:15:36 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-11-17 23:15:36 +0000 |
commit | aaf837cf5f5bc469591399f869467170133f1109 (patch) | |
tree | 1364e52e0c1d1df26c01da84243e2f1e5e130195 /src/rpc/bootstrap_daemon.h | |
parent | Merge pull request #6927 (diff) | |
download | monero-aaf837cf5f5bc469591399f869467170133f1109.tar.xz |
rpc: skip non-synced bootstrap daemons in --no-sync mode too
Diffstat (limited to 'src/rpc/bootstrap_daemon.h')
-rw-r--r-- | src/rpc/bootstrap_daemon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/bootstrap_daemon.h b/src/rpc/bootstrap_daemon.h index bedc255b5..d54042b11 100644 --- a/src/rpc/bootstrap_daemon.h +++ b/src/rpc/bootstrap_daemon.h @@ -2,6 +2,7 @@ #include <functional> #include <map> +#include <utility> #include <boost/optional/optional.hpp> #include <boost/thread/mutex.hpp> @@ -27,7 +28,7 @@ namespace cryptonote bool rpc_payment_enabled); std::string address() const noexcept; - boost::optional<uint64_t> get_height(); + boost::optional<std::pair<uint64_t, uint64_t>> get_height(); bool handle_result(bool success, const std::string &status); template <class t_request, class t_response> |