Don't register inputs too close to the timeout
Since constructing circuits can take several seconds, take that into
account when randomizing the delays. If connections pre-established so
that the circuit building latency no longer affects requests, this can
be reduced to an estimated round trip latency, which is significantly
shorter.
MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -203,7 +203,7 @@ namespace WalletWasabi.WabiSabi.Client
}
// Gets the list of scheduled dates/time in the remaining available time frame when each alice has to be registered.
- var remainingTimeForRegistration = roundState.InputRegistrationEnd - DateTimeOffset.UtcNow;
+ var remainingTimeForRegistration = ( roundState.InputRegistrationEnd - DateTimeOffset.UtcNow ) - TimeSpan.FromSeconds(15);
Logger.LogDebug($"Round ({roundState.Id}): Input registration started, it will end in {remainingTimeForRegistration.TotalMinutes} minutes.");

Don't register inputs too close to the timeout

Since constructing circuits can take several seconds, take that into
account when randomizing the delays. If connections pre-established so
that the circuit building latency no longer affects requests, this can
be reduced to an estimated round trip latency, which is significantly
shorter.