diff options
| author | Cory Fields <[email protected]> | 2016-04-16 15:59:10 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-09-08 12:06:24 -0400 |
| commit | b1a5f4320878e34eb998737dce333270dd83e436 (patch) | |
| tree | 2b1a9a94fb1008b3e4b1936fb55d3e83cb998aac /src/net.cpp | |
| parent | net: Move socket binding into CConnman (diff) | |
| download | discoin-b1a5f4320878e34eb998737dce333270dd83e436.tar.xz discoin-b1a5f4320878e34eb998737dce333270dd83e436.zip | |
net: move OpenNetworkConnection into CConnman
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index 006982000..83a96205a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -375,7 +375,7 @@ CNode* FindNode(const NodeId nodeid) return NULL; } -CNode* ConnectNode(CAddress addrConnect, const char *pszDest, bool fCountFailure) +CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCountFailure) { if (pszDest == NULL) { if (IsLocal(addrConnect)) @@ -1809,7 +1809,7 @@ void CConnman::ThreadOpenAddedConnections() } // if successful, this moves the passed grant to the constructed node -bool OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant *grantOutbound, const char *pszDest, bool fOneShot, bool fFeeler) +bool CConnman::OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant *grantOutbound, const char *pszDest, bool fOneShot, bool fFeeler) { // // Initiate outbound network connection |