diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-11-01 17:03:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-11-01 17:03:44 +0200 |
commit | d4b5ba88df014275a9fda5e24ac097b80b2ca3f2 (patch) | |
tree | 58c76aca89188402efc5a32c35346d2a33d2a7c8 /src/cryptonote_protocol | |
parent | Merge pull request #6062 (diff) | |
parent | daemon: always use bootstrap daemon (if set) in '--no-sync' mode (diff) | |
download | monero-d4b5ba88df014275a9fda5e24ac097b80b2ca3f2.tar.xz |
Merge pull request #6064
0e3b823a1 daemon: always use bootstrap daemon (if set) in '--no-sync' mode (xiphon)
Diffstat (limited to 'src/cryptonote_protocol')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.h | 1 |
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; |