aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-07-27 13:18:57 +0200
committerWladimir J. van der Laan <[email protected]>2017-07-27 13:19:32 +0200
commit8a99fe053a5d9a0672556fb187c602e51d2f1076 (patch)
treeb4e357a95c8054d2c48600021279814b0cbde1bc /src/net.cpp
parentMerge #10912: [tests] Fix incorrect memory_cleanse(…) call in crypto_tests.cpp (diff)
parentremove some unused functions (diff)
downloaddiscoin-8a99fe053a5d9a0672556fb187c602e51d2f1076.tar.xz
discoin-8a99fe053a5d9a0672556fb187c602e51d2f1076.zip
Merge #10501: remove some unused functions
f228b8e remove some unused functions (Marko Bencun) Pull request description: Identified with `cppcheck --enable=unusedFunction .`. - GetSendBufferSize()'s last use removed in 991955e - SetPort()'s last use removed in 7e195e8 - GetfLargeWorkInvalidChainFound() was introduced in e3ba0ef and never used Tree-SHA512: ea8e5498bec981e42e1342c171c37723c2f5e575c7d6c1a524d9c6cd9b332bdd0d84fddf9e14ca011bb49fb82bd037386382c9afc546b3c2231ae548358bd4f4
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index f82be7518..d4a36a030 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2694,7 +2694,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()),