Merge pull request #4472

9f4da19 Use pong receive time rather than processing time (Pieter Wuille)
This commit is contained in:
Wladimir J. van der Laan
2014-07-07 06:28:12 +02:00
3 changed files with 9 additions and 3 deletions

View File

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