[SSU2] add log messages about peertest

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-10-09 19:17:28 +03:00
parent 714b3856a2
commit 650b7abef6
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -184,7 +184,7 @@ namespace transport
{
payloadSize += CreatePaddingBlock (payload + payloadSize, m_MaxPayloadSize - payloadSize);
SendData (payload, payloadSize);
LogPrint (eLogInfo, "SSU2: Peer test sent to ", i2p::data::GetIdentHashAbbreviation (GetRemoteIdentity ()->GetIdentHash ()));
LogPrint (eLogDebug, "SSU2: PeerTest sent to ", i2p::data::GetIdentHashAbbreviation (GetRemoteIdentity ()->GetIdentHash ()));
}
}
@ -2101,6 +2101,8 @@ namespace transport
m_Server.RescheduleIntroducersUpdateTimerV6 ();
}
}
LogPrint (eLogDebug, "SSU2: Peer test 4 received from ", i2p::data::GetIdentHashAbbreviation (GetRemoteIdentity ()->GetIdentHash ()),
" with information about ", i2p::data::GetIdentHashAbbreviation (i2p::data::IdentHash (buf + 3)));
}
else
{
@ -2114,6 +2116,10 @@ namespace transport
it->second.first->Done ();
}
}
else
{
LogPrint (eLogWarning, "SSU2: Peer test 4 Charlie's Router Info is not found");
}
}
else
{