add connection confirmation phase
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
@@ -33,6 +33,7 @@ public partial class CoinJoinStateViewModel : ViewModelBase
private readonly MusicStatusMessageViewModel _transactionSigningMessage = new() { Message = "Transaction signing" };
private readonly MusicStatusMessageViewModel _waitingForBlameRoundMessage = new() { Message = "Waiting for the blame round" };
private readonly MusicStatusMessageViewModel _waitingRoundMessage = new() { Message = "Waiting for a round" };
+ private readonly MusicStatusMessageViewModel _connectionConfirmationMessage = new() { Message = "Connection confirmation" };
[AutoNotify] private bool _isAutoWaiting;
[AutoNotify] private bool _isAuto;
@@ -416,6 +417,12 @@ public partial class CoinJoinStateViewModel : ViewModelBase
CurrentStatus = _waitingRoundMessage;
StopCountDown();
break;
+ case EnteringConnectionConfirmationPhase enteringConnectionConfirmationPhase:
+ StartCountDown(
+ message: _connectionConfirmationMessage,
+ start: enteringConnectionConfirmationPhase.TimeoutAt - enteringConnectionConfirmationPhase.RoundState.CoinjoinState.Parameters.ConnectionConfirmationTimeout,
+ end: enteringConnectionConfirmationPhase.TimeoutAt);
+ break;
}
}

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinProgressEvents/EnteringConnectionConfirmationPhase.cs
WalletWasabi/WabiSabi/Client/CoinJoinProgressEvents/EnteringConnectionConfirmationPhase.cs
@@ -2,7 +2,7 @@ using WalletWasabi.WabiSabi.Models;
namespace WalletWasabi.WabiSabi.Client.CoinJoinProgressEvents;
-internal class EnteringConnectionConfirmationPhase : RoundStateChanged
+public class EnteringConnectionConfirmationPhase : RoundStateChanged
{
public EnteringConnectionConfirmationPhase(RoundState roundState, DateTimeOffset timeoutAt) : base(roundState, timeoutAt)
{

add connection confirmation phase