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

Function IsProxy

src/netbase.cpp:581–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581bool IsProxy(const CNetAddr &addr) {
582 LOCK(cs_proxyInfos);
583 for (int i = 0; i < NET_MAX; i++) {
584 if (addr == static_cast<CNetAddr>(proxyInfo[i].proxy))
585 return true;
586 }
587 return false;
588}
589
590bool ConnectThroughProxy(const proxyType &proxy, const std::string& strDest, int port, const SOCKET& hSocket, int nTimeout, bool *outProxyConnectionFailed)
591{

Callers 1

PushNodeVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected