-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Reduce the RangeProof
by 5 bits"
#9591
Revert "Reduce the RangeProof
by 5 bits"
#9591
Conversation
This reverts commit 751483d.
[JsonProperty(PropertyName = "MaxRegistrableAmount", DefaultValueHandling = DefaultValueHandling.Populate)] | ||
[JsonConverter(typeof(MoneyBtcJsonConverter))] | ||
public Money MaxRegistrableAmount { get; set; } = Money.Satoshis(ProtocolConstants.MaxAmountPerAlice); | ||
public Money MaxRegistrableAmount { get; set; } = Money.Coins(43_000m); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change? You are also changing ProtocolConstants.MaxAmountPerAlice
in the PR so why not keep using it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this is a revert, i mean, the result of doing git revert <commit>
. If I get the ACK then i will continue with it, otherwise not.
Is there a way to effectively measure the impact of this? |
Yes, there is a WalketWasabi.Benchmark project somewhere. I will find it and share it. |
|
It seems there is not real difference in processing time:
|
There was an extra zero in the upper bound limit so, it was wrong.
|
5dd0c55
to
eb007ab
Compare
Note: Even when this is a server-side change only, those who don't update will not be able to participate with more than 1343.75btc because the |
Btw reviewers, the benchmark project is updated and you can run it and verify the numbers are correct. |
Deployed to TestNet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successful CJs on client side, nothing suspicious in the server side logs.
Next Monday we can deploy this to the master. Before that, I will merge this PR. |
Tested. |
Deployed to MainNet |
This reverts commit 751483d (PR #7646). Reverts the range proof limitation
The limit is relaxed back from 1343750000000 to 4300000000000. Previously this value was restricted because
we suspected the increasing delay time observed during credential reissuance requests was due to high cpu usage, however that was not proven but assumed to be true.
Note that this doesn't solve the problem but kick it down the road because now someone could ask "what if I have more than 43000 bitcoins in one single utxo?" and the only way to solve now and forever would be to increase it another 12 bits. The problem with that is that we would be imposing a big cost to everybody just in case Satoshi one day decides to consolidate all his coins in one single utxo and start mixing with Wasabi.