Remove EncryptedCoinJoin round property for now
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PostRequests/RegisterOutputTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PostRequests/RegisterOutputTests.cs
@@ -34,7 +34,6 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Backend.PostRequests
Assert.NotNull(resp);
Assert.NotNull(resp.AmountCredentials);
Assert.NotNull(resp.WeightCredentials);
- Assert.NotNull(resp.UnsignedTransactionSecret);
await arena.StopAsync(CancellationToken.None);
}

MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
@@ -155,8 +155,6 @@ namespace WalletWasabi.WabiSabi.Backend.Rounds
round.LogInfo("Filled up the outputs to build a reasonable transaction because some alice failed to provide its output.");
}
- round.EncryptedCoinjoin = StringCipher.Encrypt(coinjoin.ToHex(), round.UnsignedTxSecret);
-
round.SetPhase(Phase.TransactionSigning);
}
}
@@ -395,7 +393,6 @@ namespace WalletWasabi.WabiSabi.Backend.Rounds
round.Bobs.Add(bob);
return new(
- round.UnsignedTxSecret,
amountCredentialResponse,
weightCredentialResponse);
}

MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Round.cs
WalletWasabi/WabiSabi/Backend/Rounds/Round.cs
@@ -21,7 +21,6 @@ namespace WalletWasabi.WabiSabi.Backend.Rounds
public Round(RoundParameters roundParameters)
{
RoundParameters = roundParameters;
- UnsignedTxSecret = RandomString.AlphaNumeric(21, secureRandom: true);
AmountCredentialIssuer = new(new(Random), 2, Random, MaxRegistrableAmount);
WeightCredentialIssuer = new(new(Random), 2, Random, RegistrableWeightCredentials);
@@ -58,7 +57,6 @@ namespace WalletWasabi.WabiSabi.Backend.Rounds
public TimeSpan OutputRegistrationTimeout => RoundParameters.OutputRegistrationTimeout;
public TimeSpan TransactionSigningTimeout => RoundParameters.TransactionSigningTimeout;
- public string UnsignedTxSecret { get; }
public Transaction Coinjoin { get; }
private RoundParameters RoundParameters { get; }
public Phase Phase { get; private set; } = Phase.InputRegistration;
@@ -67,7 +65,6 @@ namespace WalletWasabi.WabiSabi.Backend.Rounds
public DateTimeOffset OutputRegistrationStart { get; private set; }
public DateTimeOffset TransactionSigningStart { get; private set; }
public DateTimeOffset TransactionBroadcastingStart { get; private set; }
- public string EncryptedCoinjoin { get; set; }
public void SetPhase(Phase phase)
{

MODIFY
WalletWasabi/WabiSabi/Models/OutputRegistrationResponse.cs
WalletWasabi/WabiSabi/Models/OutputRegistrationResponse.cs
@@ -3,7 +3,6 @@ using WalletWasabi.WabiSabi.Crypto.CredentialRequesting;
namespace WalletWasabi.WabiSabi.Models
{
public record OutputRegistrationResponse(
- string UnsignedTransactionSecret,
CredentialsResponse AmountCredentials,
CredentialsResponse WeightCredentials
);

Remove EncryptedCoinJoin round property for now