Rename setInventoryKnown filterInventoryKnown
This commit is contained in:
committed by
Pieter Wuille
parent
e20672479e
commit
6b849350ab
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user