mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge pull request #2423 from TheBlueMatt/limitedmapalreadyaskedfor
Limited mapAlreadyAskedFor
This commit is contained in:
commit
aaf47eac3a
4 changed files with 113 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ CCriticalSection cs_vNodes;
|
|||
map<CInv, CDataStream> mapRelay;
|
||||
deque<pair<int64, CInv> > vRelayExpiration;
|
||||
CCriticalSection cs_mapRelay;
|
||||
map<CInv, int64> mapAlreadyAskedFor;
|
||||
limitedmap<CInv, int64> mapAlreadyAskedFor(MAX_INV_SZ);
|
||||
|
||||
static deque<string> vOneShots;
|
||||
CCriticalSection cs_vOneShots;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue