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

Function SetProxy

src/netbase.cpp:542–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542bool SetProxy(enum Network net, const proxyType &addrProxy) {
543 assert(net >= 0 && net < NET_MAX);
544 if (!addrProxy.IsValid())
545 return false;
546 LOCK(cs_proxyInfos);
547 proxyInfo[net] = addrProxy;
548 return true;
549}
550
551bool GetProxy(enum Network net, proxyType &proxyInfoOut) {
552 assert(net >= 0 && net < NET_MAX);

Callers 2

auth_cbMethod · 0.85
AppInitMainFunction · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected