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

Function SetProxy

src/netbase.cpp:488–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488bool SetProxy(enum Network net, CService addrProxy)
489{
490 assert(net >= 0 && net < NET_MAX);
491 if (!addrProxy.IsValid())
492 return false;
493 LOCK(cs_proxyInfos);
494 proxyInfo[net] = addrProxy;
495 return true;
496}
497
498bool GetProxy(enum Network net, proxyType& proxyInfoOut)
499{

Callers 2

auth_cbMethod · 0.85
AppInit2Function · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected