Reduce the `RangeProof` by 5 bits
It seems the coordinator cannot keep up with the amount of work required
to reissue the credentials and that makes the reissuance requests to
take more and more time to complete.
The new max amount per Alice is 1,343.75 BTCs.
MODIFY
WalletWasabi/WabiSabi/Backend/WabiSabiConfig.cs
WalletWasabi/WabiSabi/Backend/WabiSabiConfig.cs
@@ -37,10 +37,10 @@ public class WabiSabiConfig : ConfigBase
/// <summary>
/// The width of the rangeproofs are calculated from this, so don't choose stupid numbers.
/// </summary>
- [DefaultValueMoneyBtc("43000")]
+ [DefaultValueMoneyBtc("1343.75")]
[JsonProperty(PropertyName = "MaxRegistrableAmount", DefaultValueHandling = DefaultValueHandling.Populate)]
[JsonConverter(typeof(MoneyBtcJsonConverter))]
- public Money MaxRegistrableAmount { get; set; } = Money.Coins(43_000m);
+ public Money MaxRegistrableAmount { get; set; } = Money.Satoshis(ProtocolConstants.MaxAmountPerAlice);
[DefaultValue(true)]
[JsonProperty(PropertyName = "AllowNotedInputRegistration", DefaultValueHandling = DefaultValueHandling.Populate)]

MODIFY
WalletWasabi/WabiSabi/ProtocolContants.cs
WalletWasabi/WabiSabi/ProtocolContants.cs
@@ -3,7 +3,7 @@ namespace WalletWasabi.WabiSabi;
public static class ProtocolConstants
{
public const int CredentialNumber = 2;
- public const long MaxAmountPerAlice = 4_300_000_000_000L;
+ public const long MaxAmountPerAlice = 4_300_000_000_000L >> 5; // Use 5 bits less than initially
public const long MaxVsizeCredentialValue = 255;
public const string WabiSabiProtocolIdentifier = "WabiSabi_v1.0";

Reduce the `RangeProof` by 5 bits

It seems the coordinator cannot keep up with the amount of work required
to reissue the credentials and that makes the reissuance requests to
take more and more time to complete.
The new max amount per Alice is 1,343.75 BTCs.