Rename methods and properties
MODIFY
WalletWasabi.Backend/Controllers/BatchController.cs
WalletWasabi.Backend/Controllers/BatchController.cs
@@ -76,7 +76,7 @@ namespace WalletWasabi.Backend.Controllers
response.Filters = filters;
}
- response.CcjRoundStates = ChaumianCoinJoinController.GetStatesCollection();
+ response.RoundStateResponses = ChaumianCoinJoinController.GetStatesCollection();
if (estimateSmartFee)
{

MODIFY
WalletWasabi.Tests/IntegrationTests/RegTests.cs
WalletWasabi.Tests/IntegrationTests/RegTests.cs
@@ -1836,7 +1836,7 @@ namespace WalletWasabi.Tests.IntegrationTests
}
[Fact]
- public async Task CcjCoordinatorCtorTestsAsync()
+ public async Task CoordinatorCtorTestsAsync()
{
(string password, RPCClient rpc, Network network, Coordinator coordinator, ServiceConfiguration serviceConfiguration, BitcoinStore bitcoinStore, Backend.Global global) = await InitializeTestEnvironmentAsync(1);
@@ -3147,7 +3147,7 @@ namespace WalletWasabi.Tests.IntegrationTests
}
[Fact]
- public async Task CcjClientTestsAsync()
+ public async Task CoinJoinClientTestsAsync()
{
(string password, RPCClient rpc, Network network, Coordinator coordinator, ServiceConfiguration serviceConfiguration, BitcoinStore bitcoinStore, Backend.Global global) = await InitializeTestEnvironmentAsync(1);

MODIFY
WalletWasabi/Backend/Models/Responses/SynchronizeResponse.cs
WalletWasabi/Backend/Models/Responses/SynchronizeResponse.cs
@@ -17,7 +17,7 @@ namespace WalletWasabi.Backend.Models.Responses
public int BestHeight { get; set; }
- public IEnumerable<RoundStateResponse> CcjRoundStates { get; set; }
+ public IEnumerable<RoundStateResponse> RoundStateResponses { get; set; }
public AllFeeEstimate AllFeeEstimate { get; set; }

MODIFY
WalletWasabi/CoinJoin/Client/Clients/CoinJoinClient.cs
WalletWasabi/CoinJoin/Client/Clients/CoinJoinClient.cs
@@ -107,13 +107,13 @@ namespace WalletWasabi.CoinJoin.Client.Clients
var lastResponse = Synchronizer.LastResponse;
if (lastResponse != null)
{
- _ = TryProcessStatusAsync(Synchronizer.LastResponse.CcjRoundStates);
+ _ = TryProcessStatusAsync(Synchronizer.LastResponse.RoundStateResponses);
}
}
private async void Synchronizer_ResponseArrivedAsync(object sender, SynchronizeResponse e)
{
- await TryProcessStatusAsync(e?.CcjRoundStates).ConfigureAwait(false);
+ await TryProcessStatusAsync(e?.RoundStateResponses).ConfigureAwait(false);
}
public void Start()

MODIFY
WalletWasabi/CoinJoin/Coordinator/Coordinator.cs
WalletWasabi/CoinJoin/Coordinator/Coordinator.cs
@@ -478,7 +478,7 @@ namespace WalletWasabi.CoinJoin.Coordinator
}
}
- // ~CcjCoordinator() {
+ // ~Coordinator() {
// // Do not change this code. Put cleanup code in Dispose(bool disposing) above.
// Dispose(false);
// }

MODIFY
WalletWasabi/CoinJoin/Coordinator/Rounds/CoordinatorRound.cs
WalletWasabi/CoinJoin/Coordinator/Rounds/CoordinatorRound.cs
@@ -425,7 +425,7 @@ namespace WalletWasabi.CoinJoin.Coordinator.Rounds
Phase = RoundPhase.Signing;
}
- else // Phase == CcjRoundPhase.Signing
+ else // Phase == RoundPhase.Signing
{
return;
}

Rename methods and properties