cryptonote_protocol: warn when the last connection goes

pull/200/head
moneromooo-monero 5 years ago
parent 37345921ec
commit f26e0b5d11
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -2366,6 +2366,8 @@ skip:
{
MINFO("Target height decreasing from " << previous_target << " to " << target);
m_core.set_target_blockchain_height(target);
if (target == 0 && context.m_state > cryptonote_connection_context::state_before_handshake && !m_stopping)
MCWARNING("global", "monerod is now disconnected from the network");
}
m_block_queue.flush_spans(context.m_connection_id, false);

Loading…
Cancel
Save