Add phase to human monitor and order results by importance
MODIFY
WalletWasabi.Backend/Controllers/WabiSabiController.cs
WalletWasabi.Backend/Controllers/WabiSabiController.cs
@@ -124,14 +124,15 @@ public class WabiSabiController : ControllerBase, IWabiSabiApiRequestHandler
{
var response = Arena.Rounds
.Where(r => r.Phase is not Phase.Ended)
+ .OrderByDescending(x => x.InputCount)
.Select(r =>
new HumanMonitorRoundResponse(
RoundId: r.Id,
IsBlameRound: r is BlameRound,
InputCount: r.InputCount,
+ Phase: r.Phase.ToString(),
MaxSuggestedAmount: r.Parameters.MaxSuggestedAmount.ToDecimal(NBitcoin.MoneyUnit.BTC),
InputRegistrationRemaining: r.InputRegistrationTimeFrame.EndTime - DateTimeOffset.UtcNow));
return new HumanMonitorResponse(response.ToArray());
}
-}

Add phase to human monitor and order results by importance