Add configuration option
MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
@@ -409,7 +409,7 @@ public partial class Arena : PeriodicRunner
var allInputs = round.Alices.Select(y => y.Coin.Amount).OrderBy(x => x).ToArray();
// 0.75 to bias towards larger numbers as larger input owners often have many smaller inputs too.
- var smallSuggestion = allInputs.Skip((int)(allInputs.Length * 0.75)).First();
+ var smallSuggestion = allInputs.Skip((int)(allInputs.Length * Config.WW200CompatibleLoadBalancingInputSplit)).First();
var largeSuggestion = MaxSuggestedAmountProvider.AbsoluteMaximumInput;
RoundParameters parameters = RoundParameterFactory.CreateRoundParameter(feeRate, largeSuggestion);

MODIFY
WalletWasabi/WabiSabi/Backend/WabiSabiConfig.cs
WalletWasabi/WabiSabi/Backend/WabiSabiConfig.cs
@@ -116,6 +116,10 @@ public class WabiSabiConfig : ConfigBase
[JsonProperty(PropertyName = "WW200CompatibleLoadBalancing", DefaultValueHandling = DefaultValueHandling.Populate)]
public bool WW200CompatibleLoadBalancing { get; set; } = false;
+ [DefaultValue(0.75)]
+ [JsonProperty(PropertyName = "WW200CompatibleLoadBalancingInputSplit", DefaultValueHandling = DefaultValueHandling.Populate)]
+ public double WW200CompatibleLoadBalancingInputSplit { get; set; } = 0.75;
+
public Script GetNextCleanCoordinatorScript() => DeriveCoordinatorScript(CoordinatorExtPubKeyCurrentDepth);
public Script DeriveCoordinatorScript(int index) => CoordinatorExtPubKey.Derive(0, false).Derive(index, false).PubKey.WitHash.ScriptPubKey;

Add configuration option