|
|
@ -122,7 +122,7 @@ namespace { |
|
|
|
MapRelay mapRelay; |
|
|
|
MapRelay mapRelay; |
|
|
|
/** Expiration-time ordered list of (expire time, relay map entry) pairs, protected by cs_main). */ |
|
|
|
/** Expiration-time ordered list of (expire time, relay map entry) pairs, protected by cs_main). */ |
|
|
|
std::deque<std::pair<int64_t, MapRelay::iterator>> vRelayExpiration; |
|
|
|
std::deque<std::pair<int64_t, MapRelay::iterator>> vRelayExpiration; |
|
|
|
} // anon namespace
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
//
|
|
|
@ -555,7 +555,7 @@ void FindNextBlocksToDownload(NodeId nodeid, unsigned int count, std::vector<con |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} // anon namespace
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
|
|
bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats) { |
|
|
|
bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats) { |
|
|
|
LOCK(cs_main); |
|
|
|
LOCK(cs_main); |
|
|
|