aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-24 16:29:41 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-24 17:28:47 +0200
commit0430c30af118637819f70eaf3d10a77d910639e3 (patch)
tree849d013dd4c8f3a079d27c8e1e0326c4b15a9f5b /src/net.h
parentab651b2d62778d6194ad996d29e7d447f549fc38 (diff)
downloadbitcoin-0430c30af118637819f70eaf3d10a77d910639e3.tar.xz
Add missing FindNode prototype to net.h
Also make the argument a const std::string & instead of pass-by-value.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index f029a8d935..2d9325abf9 100644
--- a/src/net.h
+++ b/src/net.h
@@ -59,6 +59,7 @@ bool RecvLine(SOCKET hSocket, std::string& strLine);
bool GetMyExternalIP(CNetAddr& ipRet);
void AddressCurrentlyConnected(const CService& addr);
CNode* FindNode(const CNetAddr& ip);
+CNode* FindNode(const std::string& addrName);
CNode* FindNode(const CService& ip);
CNode* ConnectNode(CAddress addrConnect, const char *pszDest = NULL);
bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false);