Rename setInventoryKnown filterInventoryKnown

This commit is contained in:
Patick Strateman
2015-11-29 01:52:51 -08:00
committed by Pieter Wuille
parent e20672479e
commit 6b849350ab
3 changed files with 8 additions and 8 deletions

View File

@@ -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);
}
}