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

@@ -173,11 +173,14 @@ public:
CDataStream vRecv; // received message data
unsigned int nDataPos;
int64_t nTime; // time (in microseconds) of message receipt.
CNetMessage(int nTypeIn, int nVersionIn) : hdrbuf(nTypeIn, nVersionIn), vRecv(nTypeIn, nVersionIn) {
hdrbuf.resize(24);
in_data = false;
nHdrPos = 0;
nDataPos = 0;
nTime = 0;
}
bool complete() const