-
Notifications
You must be signed in to change notification settings - Fork 120
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
Verify orchard spend auth #2442
Conversation
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.
Force pushed to do this. |
@conradoplg can you review the cryptography in this PR, and make sure we've covered all the Orchard Spend Auth consensus rules? @jvff can you check that the new validation function fits the refactor you've just done? |
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.
Looks good to me, but I did not check the cryptography rules.
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.
Looks good!
Motivation
#2317
Specifications
https://zips.z.cash/protocol/protocol.pdf#actiondesc
Solution
Verify orchard spend auth very similar to sapling. No tests are currently included.
Review
This is just a draft and it is based on #2441 as the code was added into
verify_orchard_shielded_data()
. The relevant commit is 8cbe813Reviewer Checklist
Follow Up Work