MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / IsProxy

Function IsProxy

src/netbase.cpp:454–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454bool IsProxy(const CNetAddr& addr) {
455 LOCK(cs_proxyInfos);
456 for (int i = 0; i < NET_MAX; i++) {
457 if (proxyInfo[i].second && (addr == (CNetAddr)proxyInfo[i].first))
458 return true;
459 }
460 return false;
461}
462
463int GetConnectTime() { return SysCfg().GetConnectTimeOut(); }
464

Callers 1

PushVersionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected