|
|
@ -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) : |
|
|
|
CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNameIn, bool fInboundIn) : |
|
|
|
ssSend(SER_NETWORK, INIT_PROTO_VERSION), |
|
|
|
ssSend(SER_NETWORK, INIT_PROTO_VERSION), |
|
|
|
addrKnown(5000, 0.001), |
|
|
|
addrKnown(5000, 0.001), |
|
|
|
setInventoryKnown(50000, 0.000001) |
|
|
|
filterInventoryKnown(50000, 0.000001) |
|
|
|
{ |
|
|
|
{ |
|
|
|
nServices = 0; |
|
|
|
nServices = 0; |
|
|
|
hSocket = hSocketIn; |
|
|
|
hSocket = hSocketIn; |
|
|
@ -2369,7 +2369,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa |
|
|
|
nSendOffset = 0; |
|
|
|
nSendOffset = 0; |
|
|
|
hashContinue = uint256(); |
|
|
|
hashContinue = uint256(); |
|
|
|
nStartingHeight = -1; |
|
|
|
nStartingHeight = -1; |
|
|
|
setInventoryKnown.reset(); |
|
|
|
filterInventoryKnown.reset(); |
|
|
|
fGetAddr = false; |
|
|
|
fGetAddr = false; |
|
|
|
fRelayTxes = false; |
|
|
|
fRelayTxes = false; |
|
|
|
pfilter = new CBloomFilter(); |
|
|
|
pfilter = new CBloomFilter(); |
|
|
|