Use ClientRound
ADD
WalletWasabi/WabiSabi/Client/ClientRound.cs
+using NBitcoin;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using WalletWasabi.Crypto;
+using WalletWasabi.WabiSabi.Backend.Rounds;
+
+namespace WalletWasabi.WabiSabi.Client
+{
+ public class ClientRound
+ {
+ public ClientRound(Round round)
+ {
+ AmountCredentialIssuerParameters = round.AmountCredentialIssuerParameters;
+ VsizeCredentialIssuerParameters = round.VsizeCredentialIssuerParameters;
+ Id = round.Id;
+ FeeRate = round.FeeRate;
+ }
+
+ public uint256 Id { get; }
+ public FeeRate FeeRate { get; }
+ public CredentialIssuerParameters AmountCredentialIssuerParameters { get; }
+ public CredentialIssuerParameters VsizeCredentialIssuerParameters { get; }
+ }
+}

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -22,7 +22,7 @@ namespace WalletWasabi.WabiSabi.Client
private bool _disposedValue;
private CredentialPool AmountCredentialPool { get; } = new();
private CredentialPool VsizeCredentialPool { get; } = new();
- private Round Round { get; }
+ private ClientRound Round { get; }
public IArenaRequestHandler ArenaRequestHandler { get; }
public Kitchen Kitchen { get; }
public KeyManager Keymanager { get; }
@@ -32,7 +32,7 @@ namespace WalletWasabi.WabiSabi.Client
private Random Random { get; } = new();
public CoinJoinClient(
- Round round,
+ ClientRound round,
IArenaRequestHandler arenaRequestHandler,
IEnumerable<Coin> coins,
Kitchen kitchen,

Use ClientRound