diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-10 13:22:29 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-10 13:23:18 +0100 |
commit | b76733d8e89487d0f03fb5ee09432bd4161acd87 (patch) | |
tree | e306b724b8c03d503f146f546a374841a5ad5ee2 /src/net.h | |
parent | 1795c69aaaed814d5fcf5a1c27984a190f155353 (diff) | |
parent | f59d8f0b644d49324cabd19c58cf2262d49e1392 (diff) |
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); |