From 2e2bf8a20739522f7d0a76172f4c2d705e79ce00 Mon Sep 17 00:00:00 2001 From: xiphon Date: Mon, 28 Oct 2019 21:52:19 +0000 Subject: daemon: always use bootstrap daemon (if set) in '--no-sync' mode --- src/cryptonote_protocol/cryptonote_protocol_handler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cryptonote_protocol') diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h index b16b42564..3b456e324 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.h +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h @@ -112,6 +112,7 @@ namespace cryptonote void stop(); void on_connection_close(cryptonote_connection_context &context); void set_max_out_peers(unsigned int max) { m_max_out_peers = max; } + bool no_sync() const { return m_no_sync; } void set_no_sync(bool value) { m_no_sync = value; } std::string get_peers_overview() const; std::pair get_next_needed_pruning_stripe() const; -- cgit v1.2.3