diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-06-22 14:51:38 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-06-22 14:51:38 +0200 |
commit | 2831a03b798e0eea724250a6ba15cb637800354d (patch) | |
tree | 29c9eed00f28e46514d86dfeee90815259075049 /src | |
parent | 8f59251b83cd9c862aee53dd50ce32bcab12ed6d (diff) |
remove unused CNode::Cleanup()
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 5 | ||||
-rw-r--r-- | src/net.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/net.cpp b/src/net.cpp index 757a06aaed..ad0c634340 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -528,10 +528,6 @@ void CNode::CloseSocketDisconnect() pnodeSync = NULL; } -void CNode::Cleanup() -{ -} - void CNode::PushVersion() { int nBestHeight = g_signals.GetHeight().get_value_or(0); @@ -773,7 +769,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) @@ -693,8 +693,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 |