336 | @@ -336,3 +337,20 @@ void ClientModel::unsubscribeFromCoreSignals()
337 | uiInterface.NotifyBlockTip.disconnect(boost::bind(BlockTipChanged, this, _1, _2, false));
338 | uiInterface.NotifyHeaderTip.disconnect(boost::bind(BlockTipChanged, this, _1, _2, true));
339 | }
340 | +
341 | +UniValue ClientModel::getProxyInfo() const
Suggestion to remove UniValue dependency:
bool ClientModel::GetProxyInfo(std::string& ip_port) const
{
for (int n = 0; n < NET_MAX; ++n) {
proxyType proxy;
if (GetProxy((Network) n, proxy)) {
ip_port = proxy.proxy.ToStringIPPort();
return true;
}
}
return false;
}
Haven't tested.
I can not see how the new icon relates to proxy. Instead of showing "something with computer and cable", maybe simply show a "P" ?