Fix typos in WabiSabi and CoinJoin folders
MODIFY
WalletWasabi/CoinJoin/Client/Clients/AliceClientBase.cs
WalletWasabi/CoinJoin/Client/Clients/AliceClientBase.cs
@@ -183,7 +183,7 @@ public abstract class AliceClientBase
var coinjoinHex = await response.Content.ReadAsJsonAsync<string>().ConfigureAwait(false);
Transaction coinJoin = Transaction.Parse(coinjoinHex, Network.Main);
- Logger.LogInfo($"Round ({RoundId}), Alice ({UniqueId}): Acquired unsigned CoinJoin: {coinJoin.GetHash()}.");
+ Logger.LogInfo($"Round ({RoundId}), Alice ({UniqueId}): Acquired unsigned coinjoin: {coinJoin.GetHash()}.");
return coinJoin;
}

MODIFY
WalletWasabi/CoinJoin/Coordinator/Rounds/CoordinatorRound.cs
WalletWasabi/CoinJoin/Coordinator/Rounds/CoordinatorRound.cs
@@ -439,7 +439,7 @@ public class CoordinatorRound
private async Task MoveToSigningAsync()
{
- // Build CoinJoin:
+ // Build coinjoin:
// 1. Set new denomination: minor optimization.
Money newDenomination = CalculateNewDenomination();
var transaction = Network.Consensus.ConsensusFactory.CreateTransaction();
@@ -806,11 +806,11 @@ public class CoordinatorRound
FeeRate? currentFeeRate = null;
if (fee is null)
{
- Logger.LogError($"Round ({RoundId}): Cannot calculate CoinJoin transaction fee. Some spent coins are missing.");
+ Logger.LogError($"Round ({RoundId}): Cannot calculate coinjoin transaction fee. Some spent coins are missing.");
}
else if (fee <= Money.Zero)
{
- Logger.LogError($"Round ({RoundId}): CoinJoin transaction is not paying any fee. Fee: {fee.ToString(fplus: true)}, Total Inputs: {(Money)spentCoins.Sum(x => x.Amount)}, Total Outputs: {transaction.TotalOut}.");
+ Logger.LogError($"Round ({RoundId}): Coinjoin transaction is not paying any fee. Fee: {fee.ToString(fplus: true)}, Total Inputs: {(Money)spentCoins.Sum(x => x.Amount)}, Total Outputs: {transaction.TotalOut}.");
}
else
{
@@ -1159,11 +1159,11 @@ public class CoordinatorRound
await RpcClient.SendRawTransactionAsync(CoinJoin).ConfigureAwait(false);
broadcasted = CoinJoin;
Succeed(syncLock: false);
- Logger.LogInfo($"Round ({RoundId}): Successfully broadcasted the CoinJoin: {CoinJoin.GetHash()}.");
+ Logger.LogInfo($"Round ({RoundId}): Successfully broadcasted the coinjoin: {CoinJoin.GetHash()}.");
}
catch (Exception ex)
{
- Abort($"Could not broadcast the CoinJoin: {CoinJoin.GetHash()}.", syncLock: false);
+ Abort($"Could not broadcast the coinjoin: {CoinJoin.GetHash()}.", syncLock: false);
Logger.LogError(ex);
}
}

MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Arena.Partial.cs
WalletWasabi/WabiSabi/Backend/Rounds/Arena.Partial.cs
@@ -56,7 +56,7 @@ public partial class Arena : IWabiSabiApiRequestHandler
throw new WabiSabiProtocolException(WabiSabiProtocolErrorCode.InputNotWhitelisted);
}
- // Compute but don't commit updated CoinJoin to round state, it will
+ // Compute but don't commit updated coinjoin to round state, it will
// be re-calculated on input confirmation. This is computed it here
// for validation purposes.
_ = round.Assert<ConstructionState>().AddInput(coin);
@@ -233,7 +233,7 @@ public partial class Arena : IWabiSabiApiRequestHandler
await amountRealCredentialTask.ConfigureAwait(false),
await vsizeRealCredentialTask.ConfigureAwait(false));
- // Update the CoinJoin state, adding the confirmed input.
+ // Update the coinjoin state, adding the confirmed input.
round.CoinjoinState = round.Assert<ConstructionState>().AddInput(alice.Coin);
alice.ConfirmedConnection = true;

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -166,7 +166,7 @@ public class CoinJoinClient
// Send signature.
await SignTransactionAsync(registeredAliceClients, unsignedCoinJoin, roundState, cancellationToken).ConfigureAwait(false);
- Logger.LogDebug($"Round ({roundState.Id}): Alices({registeredAliceClients.Length}) successfully signed the CoinJoin tx.");
+ Logger.LogDebug($"Round ({roundState.Id}): Alices({registeredAliceClients.Length}) successfully signed the coinjoin tx.");
var finalRoundState = await RoundStatusUpdater.CreateRoundAwaiter(s => s.Id == roundState.Id && s.Phase == Phase.Ended, cancellationToken).ConfigureAwait(false);
Logger.LogDebug($"Round ({roundState.Id}): Round Ended - WasTransactionBroadcast: '{finalRoundState.WasTransactionBroadcast}'.");

Fix typos in WabiSabi and CoinJoin folders