|
|
@ -49,6 +49,7 @@ void AddressCurrentlyConnected(const CService& addr); |
|
|
|
CNode* FindNode(const CNetAddr& ip); |
|
|
|
CNode* FindNode(const CNetAddr& ip); |
|
|
|
CNode* FindNode(const CService& ip); |
|
|
|
CNode* FindNode(const CService& ip); |
|
|
|
CNode* ConnectNode(CAddress addrConnect, const char *strDest = NULL); |
|
|
|
CNode* ConnectNode(CAddress addrConnect, const char *strDest = NULL); |
|
|
|
|
|
|
|
bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false); |
|
|
|
void MapPort(bool fUseUPnP); |
|
|
|
void MapPort(bool fUseUPnP); |
|
|
|
unsigned short GetListenPort(); |
|
|
|
unsigned short GetListenPort(); |
|
|
|
bool BindListenPort(const CService &bindAddr, std::string& strError=REF(std::string())); |
|
|
|
bool BindListenPort(const CService &bindAddr, std::string& strError=REF(std::string())); |
|
|
|