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

Function GetProxy

src/netbase.cpp:423–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423bool GetProxy(enum Network net, ProxyType& proxyInfoOut) {
424 assert(net >= 0 && net < NET_MAX);
425 LOCK(cs_proxyInfos);
426 if (!proxyInfo[net].second) return false;
427 proxyInfoOut = proxyInfo[net];
428 return true;
429}
430
431bool SetNameProxy(CService addrProxy, int nSocksVersion) {
432 if (nSocksVersion != 0 && nSocksVersion != 5)

Callers 3

ConnectSocketFunction · 0.85
getinfoFunction · 0.85
getnetworkinfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected