diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-03-10 13:22:29 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-10 13:23:18 +0100 |
| commit | b76733d8e89487d0f03fb5ee09432bd4161acd87 (patch) | |
| tree | e306b724b8c03d503f146f546a374841a5ad5ee2 /src/net.h | |
| parent | Merge pull request #3833 (diff) | |
| parent | Per-peer block download tracking and stalled download detection. (diff) | |
| download | discoin-b76733d8e89487d0f03fb5ee09432bd4161acd87.tar.xz discoin-b76733d8e89487d0f03fb5ee09432bd4161acd87.zip | |
Merge pull request #3514
f59d8f0 Per-peer block download tracking and stalled download detection. (Pieter Wuille)
Diffstat (limited to 'src/net.h')
| -rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -426,7 +426,7 @@ public: LogPrint("net", "askfor %s %d (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str()); // Make sure not to reuse time indexes to keep things in the same order - int64_t nNow = (GetTime() - 1) * 1000000; + int64_t nNow = GetTimeMicros() - 1000000; static int64_t nLastTime; ++nLastTime; nNow = std::max(nNow, nLastTime); |