use seed nodes as fallback if IRC fails or with TOR

-- version 0.2.12
This commit is contained in:
s_nakamoto
2010-06-18 03:14:24 +00:00
parent 904ff7d07b
commit c58e10565e
4 changed files with 95 additions and 19 deletions

2
net.h
View File

@@ -24,7 +24,7 @@ enum
bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet);
bool GetMyExternalIP(unsigned int& ipRet);
bool AddAddress(CAddress addr, bool fCurrentlyOnline=true);
bool AddAddress(CAddress addr);
void AddressCurrentlyConnected(const CAddress& addr);
CNode* FindNode(unsigned int ip);
CNode* ConnectNode(CAddress addrConnect, int64 nTimeout=0);