aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_handler.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-10-28 21:52:19 +0000
committerxiphon <xiphon@protonmail.com>2019-10-30 19:45:23 +0000
commit0e3b823a15793f4ccb815d0ad183f39e14930955 (patch)
tree5fa89814f97873efc1b4f0322595c94af0eee4a1 /src/cryptonote_protocol/cryptonote_protocol_handler.h
parentMerge pull request #6002 (diff)
downloadmonero-0e3b823a15793f4ccb815d0ad183f39e14930955.tar.xz
daemon: always use bootstrap daemon (if set) in '--no-sync' mode
Diffstat (limited to '')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.h1
1 files changed, 1 insertions, 0 deletions
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<uint32_t, uint32_t> get_next_needed_pruning_stripe() const;