diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-05-26 23:29:39 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-09-08 12:24:07 -0400 |
commit | bafa5fc5a1ba33337b5eb3d8ae24ba2fac2949f8 (patch) | |
tree | 5d166b29ad0378d7e8394e21271ad9863d515b3f /src/net.h | |
parent | e81a602cf02edfb21c3ec097bd7cf71f189ed783 (diff) |
net: Drop StartNode/StopNode and use CConnman directly
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -298,11 +298,10 @@ private: CClientUIInterface* clientInterface; }; extern std::unique_ptr<CConnman> g_connman; +void Discover(boost::thread_group& threadGroup); void MapPort(bool fUseUPnP); unsigned short GetListenPort(); bool BindListenPort(const CService &bindAddr, std::string& strError, bool fWhitelisted = false); -bool StartNode(CConnman& connman, boost::thread_group& threadGroup, CScheduler& scheduler, ServiceFlags nLocalServices, ServiceFlags nRelevantServices, int nMaxConnections, int nMaxOutbound, int nBestHeightIn, CClientUIInterface* interfaceIn, std::string& strNodeError); -bool StopNode(CConnman& connman); size_t SocketSendData(CNode *pnode); struct CombinerAll |