MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetProxy

Function GetProxy

src/netbase.cpp:617–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617bool GetProxy(enum Network net, Proxy &proxyInfoOut) {
618 assert(net >= 0 && net < NET_MAX);
619 LOCK(g_proxyinfo_mutex);
620 if (!proxyInfo[net].IsValid())
621 return false;
622 proxyInfoOut = proxyInfo[net];
623 return true;
624}
625
626bool SetNameProxy(const Proxy &addrProxy) {
627 if (!addrProxy.IsValid())

Callers 4

ConnectNodeMethod · 0.85
StartMethod · 0.85
GetNetworksInfoFunction · 0.85
getProxyMethod · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected