undo config file
MODIFY
WalletWasabi/WabiSabi/Backend/WabiSabiConfig.cs
WalletWasabi/WabiSabi/Backend/WabiSabiConfig.cs
@@ -21,15 +21,31 @@ public class WabiSabiConfig : ConfigBase
{
}
+ [DefaultValue(108)]
+ [JsonProperty(PropertyName = "ConfirmationTarget", DefaultValueHandling = DefaultValueHandling.Populate)]
+ public uint ConfirmationTarget { get; set; } = 108;
+
[DefaultValueTimeSpan("0d 3h 0m 0s")]
[JsonProperty(PropertyName = "ReleaseUtxoFromPrisonAfter", DefaultValueHandling = DefaultValueHandling.Populate)]
[JsonConverter(typeof(TimeSpanJsonConverter))]
public TimeSpan ReleaseUtxoFromPrisonAfter { get; set; } = TimeSpan.FromHours(3);
[DefaultValueMoneyBtc("0.00005")]
+ [JsonProperty(PropertyName = "MinRegistrableAmount", DefaultValueHandling = DefaultValueHandling.Populate)]
+ [JsonConverter(typeof(MoneyBtcJsonConverter))]
+ public Money MinRegistrableAmount { get; set; } = Money.Coins(0.00005m);
- @@ -46,32 +48,26 @@ public WabiSabiConfig(string filePath) : base(filePath)
-
+ /// <summary>
+ /// The width of the rangeproofs are calculated from this, so don't choose stupid numbers.
+ /// </summary>
+ [DefaultValueMoneyBtc("43000")]
+ [JsonProperty(PropertyName = "MaxRegistrableAmount", DefaultValueHandling = DefaultValueHandling.Populate)]
+ [JsonConverter(typeof(MoneyBtcJsonConverter))]
+ public Money MaxRegistrableAmount { get; set; } = Money.Coins(43_000m);
+
+ [DefaultValue(true)]
+ [JsonProperty(PropertyName = "AllowNotedInputRegistration", DefaultValueHandling = DefaultValueHandling.Populate)]
+ public bool AllowNotedInputRegistration { get; set; } = true;
[DefaultValueTimeSpan("0d 1h 0m 0s")]
[JsonProperty(PropertyName = "StandardInputRegistrationTimeout", DefaultValueHandling = DefaultValueHandling.Populate)]

undo config file