Skip to content

Commit

Permalink
Revert "Reduce max input amount to 1343 btc (WalletWasabi#13403)" (Wa…
Browse files Browse the repository at this point in the history
…lletWasabi#13404)

This reverts commit db033bf.
  • Loading branch information
lontivero authored Sep 16, 2024
1 parent db033bf commit bab1b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void MaxSuggestedSteppingTest()
}

// Check the distribution of MaxSuggestedAmounts.
Assert.Equal(1, histogram[Money.Coins(1_343.75m)]);
Assert.Equal(1, histogram[Money.Coins(10_000)]);
Assert.Equal(2, histogram[Money.Coins(1000)]);
Assert.Equal(4, histogram[Money.Coins(100)]);
Assert.Equal(8, histogram[Money.Coins(10)]);
Expand Down
2 changes: 1 addition & 1 deletion WalletWasabi/WabiSabi/ProtocolConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 / 32;
public const long MaxAmountPerAlice = 4_300_000_000_000L;
public const long MaxVsizeCredentialValue = 255;

public const string WabiSabiProtocolIdentifier = "WabiSabi_v1.0";
Expand Down

0 comments on commit bab1b6b

Please sign in to comment.