mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-17 21:50:43 +02:00
log: Add V2 handshake timeout
This commit is contained in:
parent
d4a1da8543
commit
7d07daa623
@ -1988,7 +1988,11 @@ bool CConnman::InactivityCheck(const CNode& node) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!node.fSuccessfullyConnected) {
|
if (!node.fSuccessfullyConnected) {
|
||||||
|
if (node.m_transport->GetInfo().transport_type == TransportProtocolType::DETECTING) {
|
||||||
|
LogPrint(BCLog::NET, "V2 handshake timeout peer=%d\n", node.GetId());
|
||||||
|
} else {
|
||||||
LogPrint(BCLog::NET, "version handshake timeout peer=%d\n", node.GetId());
|
LogPrint(BCLog::NET, "version handshake timeout peer=%d\n", node.GetId());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user