aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-05-24 18:59:16 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-09-08 12:06:24 -0400
commitaaf018e3b79417ecfd39291a8c100df77969d77a (patch)
treeaebdb2c2dbdd1f2d0eb967222cc7f246b16c55d3 /src/net.h
parentb1a5f4320878e34eb998737dce333270dd83e436 (diff)
net: handle nodesignals in CConnman
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index e0c317ae46..b9dfaa0f40 100644
--- a/src/net.h
+++ b/src/net.h
@@ -121,6 +121,7 @@ private:
void ThreadDNSAddressSeed();
CNode* ConnectNode(CAddress addrConnect, const char *pszDest, bool fCountFailure);
+ void DeleteNode(CNode* pnode);
std::vector<ListenSocket> vhListenSocket;
};
@@ -154,7 +155,7 @@ struct CNodeSignals
boost::signals2::signal<bool (CNode*, CConnman&), CombinerAll> ProcessMessages;
boost::signals2::signal<bool (CNode*, CConnman&), CombinerAll> SendMessages;
boost::signals2::signal<void (NodeId, const CNode*)> InitializeNode;
- boost::signals2::signal<void (NodeId)> FinalizeNode;
+ boost::signals2::signal<void (NodeId, bool&)> FinalizeNode;
};