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

Function IsProxy

src/netbase.cpp:553–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553bool IsProxy(const CNetAddr &addr) {
554 LOCK(cs_proxyInfos);
555 for (int i = 0; i < NET_MAX; i++) {
556 if (addr == (CNetAddr)proxyInfo[i].proxy)
557 return true;
558 }
559 return false;
560}
561
562static bool ConnectThroughProxy(const proxyType &proxy, const std::string& strDest, int port, SOCKET& hSocketRet, int nTimeout, bool *outProxyConnectionFailed)
563{

Callers 1

PushVersionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected