diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-04-03 18:31:35 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-04-03 18:31:35 -0700 |
commit | aaf47eac3abef5741b6c108fdc8a19cb46b773a2 (patch) | |
tree | 287dffec550319b4fb6d662d61768862ac410de1 /src/net.cpp | |
parent | f7955fafbd22849b50500d04640a2ebacd9fb976 (diff) | |
parent | b5afda67f2846ddc6554304acc1567796733725b (diff) |
Merge pull request #2423 from TheBlueMatt/limitedmapalreadyaskedfor
Limited mapAlreadyAskedFor
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index f1ece2c2e9..5f8b5ba32b 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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; |