-
Notifications
You must be signed in to change notification settings - Fork 108
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
ZIP-211: Validate Disabling Addition of New Value to the Sprout Value Pool #2399
Conversation
I updated the title of this PR so it says "Disabling Addition of New Value to the Sprout Value Pool". It is still possible to remove value from the sprout value pool. |
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.
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.
We still need to:
- cover coinbase transactions in the tests, or skip them in the verifier
- make sure we're testing transactions with and without JoinSplits
- move the sprout check into the sprout verifier function
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.
cover coinbase transactions in the tests, or skip them in the verifier
make sure we're testing transactions with and without JoinSplits
This is done, just waiting on the refactor.
Some requested changes have been made, @jvff is reviewing the rest
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.
This is good enough for now.
Motivation
We need to add the disabled sprout pool consensus rule. Resolves #1564 when merged.
Specifications
https://zips.z.cash/zip-0211
https://zips.z.cash/protocol/protocol.pdf#joinsplitdesc
Solution
Implement the rule, add a test. The test can be improved.
Review
Reviewer Checklist