Make onlyForOnionHosts: false
Add comments
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -265,7 +265,10 @@ namespace WalletWasabi.Gui
{
if (Config.UseTor is true)
{
- connectionParameters.TemplateBehaviors.Add(new SocksSettingsBehavior(Config.GetTorSocks5EndPoint(), onlyForOnionHosts: true));
+ // onlyForOnionHosts: false - Connect to clearnet IPs through Tor, too.
+ connectionParameters.TemplateBehaviors.Add(new SocksSettingsBehavior(Config.GetTorSocks5EndPoint(), onlyForOnionHosts: false));
+ // allowOnlyTorEndpoints: true - Connect only to onions and don't connect to clearnet IPs at all.
+ // This of course makes the first setting unneccessary, but it's better if that's around, in case someone wants to tinker here.
connectionParameters.EndpointConnector = new DefaultEndpointConnector(allowOnlyTorEndpoints: true);
}
Nodes = new NodesGroup(Network, connectionParameters, requirements: Constants.NodeRequirements);

Make onlyForOnionHosts: false
Add comments