diff options
| author | Riccardo Spagni <ric@spagni.net> | 2019-11-02 17:29:23 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2019-11-02 17:29:23 +0200 |
| commit | e41fc4bfc8c37d45e39152042f53e40e48632fa4 (patch) | |
| tree | a14b70bcf09d41e397bd694e11ea7282df4577ac /src/cryptonote_protocol | |
| parent | b533864a41c60234d3fa698db25d5f3574265e56 (diff) | |
| parent | 2e2bf8a20739522f7d0a76172f4c2d705e79ce00 (diff) | |
| download | monzero-core-e41fc4bfc8c37d45e39152042f53e40e48632fa4.tar.gz monzero-core-e41fc4bfc8c37d45e39152042f53e40e48632fa4.tar.xz monzero-core-e41fc4bfc8c37d45e39152042f53e40e48632fa4.zip | |
Merge pull request #6051
2e2bf8a20 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; |
