No need for Tor identities for non-coinjoins.
MODIFY
WalletWasabi/WebClients/Wasabi/WasabiClientFactory.cs
WalletWasabi/WebClients/Wasabi/WasabiClientFactory.cs
@@ -29,18 +29,6 @@ namespace WalletWasabi.WebClients.Wasabi
/// <summary>Whether Tor is enabled or disabled.</summary>
public bool IsTorEnabled => TorEndpoint is { };
- /// <summary>
- /// Creates a new instance of <see cref="WasabiClient"/> which is predefined with <paramref name="baseUri"/> parameter.
- /// </summary>
- /// <remarks>New instances are better to increase privacy level.</remarks>
- /// <param name="baseUri">Base URI used in all HTTP requests created by <see cref="WasabiClient"/> class.</param>
- /// <param name="isolateStream">Whether new Tor identity should be used for all HTTP requests.</param>
- public WasabiClient Create(Uri baseUri, bool isolateStream = true)
- {
- TorHttpClient torHttpClient = new TorHttpClient(baseUri, TorEndpoint, isolateStream);
- return new WasabiClient(torHttpClient);
- }
-
/// <summary>
/// Creates new <see cref="WasabiClient"/> instance with correctly set backend URL.
/// </summary>
@@ -48,10 +36,9 @@ namespace WalletWasabi.WebClients.Wasabi
/// For privacy reasons, it is advisable to create a new instance of <see cref="WasabiClient"/>
/// for each HTTP request instead of reusing one instance for multiple HTTP requests.
/// </remarks>
- /// <param name="isolateStream">Whether a new Tor identity should be used for this <see cref="WasabiClient"/> instance.</param>
- public WasabiClient NewBackendClient(bool isolateStream = true)
+ public WasabiClient NewBackendClient()
{
- TorHttpClient torHttpClient = new TorHttpClient(BackendUriGetter.Invoke(), TorEndpoint, isolateStream);
+ TorHttpClient torHttpClient = new TorHttpClient(BackendUriGetter.Invoke(), TorEndpoint, isolateStream: false);
return new WasabiClient(torHttpClient);
}
}

No need for Tor identities for non-coinjoins.