mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
remove some unused functions
Identified with `cppcheck --enable=unusedFunction .`. - GetSendBufferSize()'s last use removed in991955ee81- SetPort()'s last use removed in7e195e8459- GetfLargeWorkInvalidChainFound() was introduced ine3ba0ef956and never used
This commit is contained in:
@@ -2691,7 +2691,6 @@ int CConnman::GetBestHeight() const
|
||||
}
|
||||
|
||||
unsigned int CConnman::GetReceiveFloodSize() const { return nReceiveFloodSize; }
|
||||
unsigned int CConnman::GetSendBufferSize() const{ return nSendBufferMaxSize; }
|
||||
|
||||
CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress& addrIn, uint64_t nKeyedNetGroupIn, uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, const std::string& addrNameIn, bool fInboundIn) :
|
||||
nTimeConnected(GetSystemTimeInSeconds()),
|
||||
|
||||
Reference in New Issue
Block a user