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

Function GetProxy

src/netbase.cpp:551–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551bool GetProxy(enum Network net, proxyType &proxyInfoOut) {
552 assert(net >= 0 && net < NET_MAX);
553 LOCK(cs_proxyInfos);
554 if (!proxyInfo[net].IsValid())
555 return false;
556 proxyInfoOut = proxyInfo[net];
557 return true;
558}
559
560bool SetNameProxy(const proxyType &addrProxy) {
561 if (!addrProxy.IsValid())

Callers 3

ConnectNodeMethod · 0.85
GetNetworksInfoFunction · 0.85
getProxyMethod · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected