aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
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/net.h
parente20672479ef7f2048c2e27494397641d47a4d88d (diff)
downloadbitcoin-6b849350ab074a7ccb80ecbef387f59e1271ded6.tar.xz
Rename setInventoryKnown filterInventoryKnown
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index 0332c07331..7f3143510d 100644
--- a/src/net.h
+++ b/src/net.h
@@ -385,7 +385,7 @@ public:
std::set<uint256> setKnown;
// inventory based relay
- CRollingBloomFilter setInventoryKnown;
+ CRollingBloomFilter filterInventoryKnown;
std::vector<CInv> vInventoryToSend;
CCriticalSection cs_inventory;
std::multimap<int64_t, CInv> mapAskFor;
@@ -493,7 +493,7 @@ public:
{
{
LOCK(cs_inventory);
- setInventoryKnown.insert(inv.hash);
+ filterInventoryKnown.insert(inv.hash);
}
}
@@ -501,7 +501,7 @@ public:
{
{
LOCK(cs_inventory);
- if (!setInventoryKnown.contains(inv.hash))
+ if (!filterInventoryKnown.contains(inv.hash))
vInventoryToSend.push_back(inv);
}
}