aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/bootstrap_daemon.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-11-17 23:15:36 +0000
committerxiphon <xiphon@protonmail.com>2020-11-23 12:24:01 +0000
commitaf4fb4729ed09139a1a48038fcfcf7da64092a58 (patch)
treefce96e24c6e993e70642a7b366f9ea2ee6cb4645 /src/rpc/bootstrap_daemon.h
parentMerge pull request #6997 (diff)
downloadmonero-af4fb4729ed09139a1a48038fcfcf7da64092a58.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.h3
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>