diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-05-24 18:59:16 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-09-08 12:06:24 -0400 |
commit | aaf018e3b79417ecfd39291a8c100df77969d77a (patch) | |
tree | aebdb2c2dbdd1f2d0eb967222cc7f246b16c55d3 /src/net.h | |
parent | b1a5f4320878e34eb998737dce333270dd83e436 (diff) |
net: handle nodesignals in CConnman
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; }; |