Use pong receive time rather than processing time

This commit is contained in:
Pieter Wuille
2014-07-06 16:06:46 +02:00
parent dd49e92fb0
commit 9f4da19bab
3 changed files with 9 additions and 3 deletions

View File

@@ -653,6 +653,9 @@ bool CNode::ReceiveMsgBytes(const char *pch, unsigned int nBytes)
pch += handled;
nBytes -= handled;
if (msg.complete())
msg.nTime = GetTimeMicros();
}
return true;