- BB842420BCC67752EDF8E658524B135F499C5F8676557A6C12F47F204303E34BD73BEABDF6E9146BA452947C4E5CD298529969FAB90F16942F6BF0C1229F7043
+ 23936CB985A2896B4924EFE4EF5E01EFAD61EB3800227B611CE8BDEC0542869ACCCEF2FADAAC9AB4E18CCAE527AA9DF14F1BB87D3E5DB14F810DC03A246F2647
bitcoin/src/net.h
(29 . 9)(29 . 10)
263 bool Lookup(const char *pszName, std::vector<CAddress>& vaddr, int nServices, int nMaxSolutions, int portDefault = 0, bool fAllowPort = false);
264 bool Lookup(const char *pszName, CAddress& addr, int nServices, int portDefault = 0, bool fAllowPort = false);
265 bool AddAddress(CAddress addr, int64 nTimePenalty=0, CAddrDB *pAddrDB=NULL);
266 bool AddWire(CAddress addr);
267 void AddressCurrentlyConnected(const CAddress& addr);
268 CNode* FindNode(unsigned int ip);
269 CNode* ConnectNode(CAddress addrConnect, int64 nTimeout=0);
270 CNode* ConnectNode(CAddress addrConnect, int64 nTimeout=0, bool fWireNode=false);
271 void AbandonRequests(void (*fn)(void*, CDataStream&), void* param1);
272 bool AnySubscribed(unsigned int nChannel);
273 void MapPort(bool fMapPort);
(76 . 6)(77 . 7)
275
276 extern std::vector<CNode*> vNodes;
277 extern CCriticalSection cs_vNodes;
278 extern std::map<std::vector<unsigned char>, CAddress> mapWires;
279 extern std::map<std::vector<unsigned char>, CAddress> mapAddresses;
280 extern CCriticalSection cs_mapAddresses;
281 extern std::map<CInv, CDataStream> mapRelay;
(114 . 6)(116 . 7)
283 bool fClient;
284 bool fInbound;
285 bool fNetworkNode;
286 bool fWireNode;
287 bool fSuccessfullyConnected;
288 bool fDisconnect;
289 protected:
(175 . 6)(178 . 7)
291 fClient = false; // set by version message
292 fInbound = fInboundIn;
293 fNetworkNode = false;
294 fWireNode = false;
295 fSuccessfullyConnected = false;
296 fDisconnect = false;
297 nRefCount = 0;