aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPatick Strateman <patrick.strateman@gmail.com>2015-11-29 01:52:51 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2015-11-30 12:53:48 +0100
commit6b849350ab074a7ccb80ecbef387f59e1271ded6 (patch)
tree6e5e9f12eee9a09cd153dbb207221a509378d9bd /src/main.cpp
parente20672479ef7f2048c2e27494397641d47a4d88d (diff)
downloadbitcoin-6b849350ab074a7ccb80ecbef387f59e1271ded6.tar.xz
Rename setInventoryKnown filterInventoryKnown
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5e39c31bd0..98457d31e3 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)
{