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

Method getProxyInfo

src/qt/clientmodel.cpp:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271bool ClientModel::getProxyInfo(std::string& ip_port) const
272{
273 proxyType ipv4, ipv6;
274 if (m_node.getProxy((Network) 1, ipv4) && m_node.getProxy((Network) 2, ipv6)) {
275 ip_port = ipv4.proxy.ToStringIPPort();
276 return true;
277 }
278 return false;
279}

Callers 1

updateProxyIconMethod · 0.80

Calls 2

getProxyMethod · 0.80
ToStringIPPortMethod · 0.80

Tested by

no test coverage detected