MCPcopy Create free account
hub / github.com/LUX-Core/lux / IsProxy

Function IsProxy

src/netbase.cpp:532–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532bool IsProxy(const CNetAddr& addr)
533{
534 LOCK(cs_proxyInfos);
535 for (int i = 0; i < NET_MAX; i++) {
536 if (addr == (CNetAddr)proxyInfo[i])
537 return true;
538 }
539 return false;
540}
541
542bool ConnectSocket(const CService& addrDest, SOCKET& hSocketRet, int nTimeout, bool* outProxyConnectionFailed)
543{

Callers 1

PushVersionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected