mirror of
https://github.com/monero-project/monero.git
synced 2025-08-17 00:20:27 -04:00
cryptonote_core: dandelion - use local height or median height if syncing
This commit is contained in:
parent
9c1562c038
commit
a9cd5d914e
10 changed files with 85 additions and 18 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue