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

Function GetProxy

src/netbase.cpp:523–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523bool GetProxy(enum Network net, proxyType &proxyInfoOut) {
524 assert(net >= 0 && net < NET_MAX);
525 LOCK(cs_proxyInfos);
526 if (!proxyInfo[net].IsValid())
527 return false;
528 proxyInfoOut = proxyInfo[net];
529 return true;
530}
531
532bool SetNameProxy(const proxyType &addrProxy) {
533 if (!addrProxy.IsValid())

Callers 5

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

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected