- 0B8486F417CA786ACCC0335C0381A2FD80393E842F79A9926C556F81D6B09E41615DE890477DADAD86816F672A07B1DF2A495D0B95C85A3BF2FD8A8AA67B2863+ FD5E99A998637D3A0F154C2124A264A76649D115FE5B38BEBEB4BF3ABC1943DE9031EBD2CA002F81F1D7ED53C8E72F072689E16264BE1E6944AE2CF0926EA226bitcoin/src/net.h(26 . 8)(26 . 8)
137 static const unsigned int PUBLISH_HOPS = 5;
138
139 bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet, int nTimeout=nConnectTimeout);
140 bool Lookup(const char *pszName, std::vector<CAddress>& vaddr, int nServices, int nMaxSolutions, bool fAllowLookup = false, int portDefault = 0, bool fAllowPort = false);
141 bool Lookup(const char *pszName, CAddress& addr, int nServices, bool fAllowLookup = false, int portDefault = 0, bool fAllowPort = false);
142 bool Lookup(const char *pszName, std::vector<CAddress>& vaddr, int nServices, int nMaxSolutions, int portDefault = 0, bool fAllowPort = false);
143 bool Lookup(const char *pszName, CAddress& addr, int nServices, int portDefault = 0, bool fAllowPort = false);
144 bool GetMyExternalIP(unsigned int& ipRet);
145 bool AddAddress(CAddress addr, int64 nTimePenalty=0, CAddrDB *pAddrDB=NULL);
146 void AddressCurrentlyConnected(const CAddress& addr);