remove unused CNode::Cleanup()

This commit is contained in:
Philip Kaufmann 2014-06-22 14:51:38 +02:00
parent 8f59251b83
commit 2831a03b79
2 changed files with 0 additions and 7 deletions

View File

@ -528,10 +528,6 @@ void CNode::CloseSocketDisconnect()
pnodeSync = NULL; pnodeSync = NULL;
} }
void CNode::Cleanup()
{
}
void CNode::PushVersion() void CNode::PushVersion()
{ {
int nBestHeight = g_signals.GetHeight().get_value_or(0); int nBestHeight = g_signals.GetHeight().get_value_or(0);
@ -773,7 +769,6 @@ void ThreadSocketHandler()
// close socket and cleanup // close socket and cleanup
pnode->CloseSocketDisconnect(); pnode->CloseSocketDisconnect();
pnode->Cleanup();
// hold in disconnected pool until all refs are released // hold in disconnected pool until all refs are released
if (pnode->fNetworkNode || pnode->fInbound) if (pnode->fNetworkNode || pnode->fInbound)

View File

@ -693,8 +693,6 @@ public:
void Subscribe(unsigned int nChannel, unsigned int nHops=0); void Subscribe(unsigned int nChannel, unsigned int nHops=0);
void CancelSubscribe(unsigned int nChannel); void CancelSubscribe(unsigned int nChannel);
void CloseSocketDisconnect(); void CloseSocketDisconnect();
void Cleanup();
// Denial-of-service detection/prevention // Denial-of-service detection/prevention
// The idea is to detect peers that are behaving // The idea is to detect peers that are behaving