MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetProxy

Function GetProxy

src/netbase.cpp:498–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498bool GetProxy(enum Network net, proxyType& proxyInfoOut)
499{
500 assert(net >= 0 && net < NET_MAX);
501 LOCK(cs_proxyInfos);
502 if (!proxyInfo[net].IsValid())
503 return false;
504 proxyInfoOut = proxyInfo[net];
505 return true;
506}
507
508bool SetNameProxy(CService addrProxy)
509{

Callers 4

ConnectSocketFunction · 0.85
getinfoFunction · 0.85
GetNetworksInfoFunction · 0.85
getProxySettingsMethod · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected