diff options
| author | Patick Strateman <[email protected]> | 2015-11-29 01:52:51 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-11-30 12:53:48 +0100 |
| commit | 6b849350ab074a7ccb80ecbef387f59e1271ded6 (patch) | |
| tree | 6e5e9f12eee9a09cd153dbb207221a509378d9bd /src/main.cpp | |
| parent | Remove mruset as it is no longer used. (diff) | |
| download | discoin-6b849350ab074a7ccb80ecbef387f59e1271ded6.tar.xz discoin-6b849350ab074a7ccb80ecbef387f59e1271ded6.zip | |
Rename setInventoryKnown filterInventoryKnown
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5e39c31bd..98457d31e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5510,7 +5510,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle) vInvWait.reserve(pto->vInventoryToSend.size()); BOOST_FOREACH(const CInv& inv, pto->vInventoryToSend) { - if (pto->setInventoryKnown.contains(inv.hash)) + if (pto->filterInventoryKnown.contains(inv.hash)) continue; // trickle out tx inv to protect privacy @@ -5531,9 +5531,9 @@ bool SendMessages(CNode* pto, bool fSendTrickle) } } - if (!pto->setInventoryKnown.contains(inv.hash)) + if (!pto->filterInventoryKnown.contains(inv.hash)) { - pto->setInventoryKnown.insert(inv.hash); + pto->filterInventoryKnown.insert(inv.hash); vInv.push_back(inv); if (vInv.size() >= 1000) { |