aboutsummaryrefslogtreecommitdiff
path: root/src/net.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/net.cpp
parente20672479ef7f2048c2e27494397641d47a4d88d (diff)
downloadbitcoin-6b849350ab074a7ccb80ecbef387f59e1271ded6.tar.xz
Rename setInventoryKnown filterInventoryKnown
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index fc8fa30eee..59c0faac2c 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2342,7 +2342,7 @@ unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", DEFAULT_MAX
CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNameIn, bool fInboundIn) :
ssSend(SER_NETWORK, INIT_PROTO_VERSION),
addrKnown(5000, 0.001),
- setInventoryKnown(50000, 0.000001)
+ filterInventoryKnown(50000, 0.000001)
{
nServices = 0;
hSocket = hSocketIn;
@@ -2369,7 +2369,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa
nSendOffset = 0;
hashContinue = uint256();
nStartingHeight = -1;
- setInventoryKnown.reset();
+ filterInventoryKnown.reset();
fGetAddr = false;
fRelayTxes = false;
pfilter = new CBloomFilter();