Browse Source

Include human readble format for nRequestTime.

0.8
R E Broadley 13 years ago
parent
commit
812392d325
  1. 2
      src/net.h

2
src/net.h

@ -298,7 +298,7 @@ public: @@ -298,7 +298,7 @@ public:
// the key is the earliest time the request can be sent
int64& nRequestTime = mapAlreadyAskedFor[inv];
if (fDebugNet)
printf("askfor %s %"PRI64d"\n", inv.ToString().c_str(), nRequestTime);
printf("askfor %s %"PRI64d" (%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 nNow = (GetTime() - 1) * 1000000;

Loading…
Cancel
Save