aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-05-26 23:29:39 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-09-08 12:24:07 -0400
commitbafa5fc5a1ba33337b5eb3d8ae24ba2fac2949f8 (patch)
tree5d166b29ad0378d7e8394e21271ad9863d515b3f /src/net.h
parente81a602cf02edfb21c3ec097bd7cf71f189ed783 (diff)
downloadbitcoin-bafa5fc5a1ba33337b5eb3d8ae24ba2fac2949f8.tar.xz
net: Drop StartNode/StopNode and use CConnman directly
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index a45e18da67..e08409e81e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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