diff options
author | xiphon <xiphon@protonmail.com> | 2020-11-20 11:37:19 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-11-25 01:27:42 +0000 |
commit | a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7 (patch) | |
tree | d38857614b328ebccf77fba6bed35834ff029fa6 /src/cryptonote_protocol/cryptonote_protocol_handler.h | |
parent | Merge pull request #7007 (diff) | |
download | monero-a9cd5d914e032f2ae6ce56e6b48f0f47d3a56ad7.tar.xz |
cryptonote_core: dandelion - use local height or median height if syncing
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h index 89860fe41..61aac6d81 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.h +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h @@ -104,7 +104,7 @@ namespace cryptonote bool get_payload_sync_data(CORE_SYNC_DATA& hshd); bool on_callback(cryptonote_connection_context& context); t_core& get_core(){return m_core;} - bool is_synchronized(){return m_synchronized;} + virtual bool is_synchronized() const final { return !no_sync() && m_synchronized; } void log_connections(); std::list<connection_info> get_connections(); const block_queue &get_block_queue() const { return m_block_queue; } |