- BB842420BCC67752EDF8E658524B135F499C5F8676557A6C12F47F204303E34BD73BEABDF6E9146BA452947C4E5CD298529969FAB90F16942F6BF0C1229F7043+ 23936CB985A2896B4924EFE4EF5E01EFAD61EB3800227B611CE8BDEC0542869ACCCEF2FADAAC9AB4E18CCAE527AA9DF14F1BB87D3E5DB14F810DC03A246F2647bitcoin/src/net.h(29 . 9)(29 . 10)
287 bool Lookup(const char *pszName, std::vector<CAddress>& vaddr, int nServices, int nMaxSolutions, int portDefault = 0, bool fAllowPort = false);
288 bool Lookup(const char *pszName, CAddress& addr, int nServices, int portDefault = 0, bool fAllowPort = false);
289 bool AddAddress(CAddress addr, int64 nTimePenalty=0, CAddrDB *pAddrDB=NULL);
290 bool AddWire(CAddress addr);
291 void AddressCurrentlyConnected(const CAddress& addr);
292 CNode* FindNode(unsigned int ip);
293 CNode* ConnectNode(CAddress addrConnect, int64 nTimeout=0);
294 CNode* ConnectNode(CAddress addrConnect, int64 nTimeout=0, bool fWireNode=false);
295 void AbandonRequests(void (*fn)(void*, CDataStream&), void* param1);
296 bool AnySubscribed(unsigned int nChannel);
297 void MapPort(bool fMapPort);
(76 . 6)(77 . 7)
299
300 extern std::vector<CNode*> vNodes;
301 extern CCriticalSection cs_vNodes;
302 extern std::map<std::vector<unsigned char>, CAddress> mapWires;
303 extern std::map<std::vector<unsigned char>, CAddress> mapAddresses;
304 extern CCriticalSection cs_mapAddresses;
305 extern std::map<CInv, CDataStream> mapRelay;
(114 . 6)(116 . 7)
307 bool fClient;
308 bool fInbound;
309 bool fNetworkNode;
310 bool fWireNode;
311 bool fSuccessfullyConnected;
312 bool fDisconnect;
313 protected:
(175 . 6)(178 . 7)
315 fClient = false; // set by version message
316 fInbound = fInboundIn;
317 fNetworkNode = false;
318 fWireNode = false;
319 fSuccessfullyConnected = false;
320 fDisconnect = false;
321 nRefCount = 0;