protocol: move the "peer claims higher version" warning to debug

Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
This commit is contained in:
moneromooo-monero 2020-05-19 16:13:49 +00:00
parent 77a008f714
commit 567402c508
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -308,9 +308,9 @@ namespace cryptonote
if (version >= 6 && version != hshd.top_version)
{
if (version < hshd.top_version && version == m_core.get_ideal_hard_fork_version())
MCLOG_RED(el::Level::Warning, "global", context << " peer claims higher version than we think (" <<
MDEBUG(context << " peer claims higher version than we think (" <<
(unsigned)hshd.top_version << " for " << (hshd.current_height - 1) << " instead of " << (unsigned)version <<
") - we may be forked from the network and a software upgrade may be needed");
") - we may be forked from the network and a software upgrade may be needed, or that peer is broken or malicious");
return false;
}
}