diff options
author | Patick Strateman <patrick.strateman@gmail.com> | 2015-11-29 01:52:51 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-11-30 12:53:48 +0100 |
commit | 6b849350ab074a7ccb80ecbef387f59e1271ded6 (patch) | |
tree | 6e5e9f12eee9a09cd153dbb207221a509378d9bd /src/net.h | |
parent | e20672479ef7f2048c2e27494397641d47a4d88d (diff) |
Rename setInventoryKnown filterInventoryKnown
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } } |