diff options
| author | Philip Kaufmann <[email protected]> | 2014-06-22 14:51:38 +0200 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2015-06-27 13:44:14 +0000 |
| commit | 636716439a91c6efd89dc4593838e78b77187823 (patch) | |
| tree | feaa393bc2f27a34d75669dfa1e138f15e67138e /src | |
| parent | Ping automatically every 2 minutes (unconditionally) (diff) | |
| download | discoin-636716439a91c6efd89dc4593838e78b77187823.tar.xz discoin-636716439a91c6efd89dc4593838e78b77187823.zip | |
remove unused CNode::Cleanup()
Diffstat (limited to 'src')
| -rw-r--r-- | src/net.cpp | 6 | ||||
| -rw-r--r-- | src/net.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/net.cpp b/src/net.cpp index 923d948a5..52653f44f 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -514,11 +514,6 @@ void CNode::CloseSocketDisconnect() pnodeSync = NULL; } -void CNode::Cleanup() -{ -} - - void CNode::PushVersion() { int nBestHeight = g_signals.GetHeight().get_value_or(0); @@ -760,7 +755,6 @@ void ThreadSocketHandler() // close socket and cleanup pnode->CloseSocketDisconnect(); - pnode->Cleanup(); // hold in disconnected pool until all refs are released if (pnode->fNetworkNode || pnode->fInbound) @@ -690,8 +690,6 @@ public: void Subscribe(unsigned int nChannel, unsigned int nHops=0); void CancelSubscribe(unsigned int nChannel); void CloseSocketDisconnect(); - void Cleanup(); - // Denial-of-service detection/prevention // The idea is to detect peers that are behaving |