|
|
@ -296,6 +296,7 @@ public: |
|
|
|
// We're using mapAskFor as a priority queue,
|
|
|
|
// We're using mapAskFor as a priority queue,
|
|
|
|
// the key is the earliest time the request can be sent
|
|
|
|
// the key is the earliest time the request can be sent
|
|
|
|
int64& nRequestTime = mapAlreadyAskedFor[inv]; |
|
|
|
int64& nRequestTime = mapAlreadyAskedFor[inv]; |
|
|
|
|
|
|
|
if (fDebugNet) |
|
|
|
printf("askfor %s %"PRI64d"\n", inv.ToString().c_str(), nRequestTime); |
|
|
|
printf("askfor %s %"PRI64d"\n", inv.ToString().c_str(), nRequestTime); |
|
|
|
|
|
|
|
|
|
|
|
// Make sure not to reuse time indexes to keep things in the same order
|
|
|
|
// Make sure not to reuse time indexes to keep things in the same order
|
|
|
|