-
Notifications
You must be signed in to change notification settings - Fork 110
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
Flesh out redpallas, direct port of redjubjub #2099
Conversation
Minus batching and the multiscalar multiplication required for that, as the math needs updating or replacing completely.
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 great.
I had a few suggestions, but they're all minor.
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.
On a first pass I just found a small issue in a comment.
Should I make a more in-depth review of the crypto part? (It should take a couple days to get familiar with RedDSA)
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
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 looks good, happy to merge if you're happy with it
Motivation
Finishing Transaction::V5 requires a
redpallas::Signature
type, which was not part of the initial stub-out of theredpallas
types in the sapling->orchard port in #1885.Solution
Finish the direct
redjubjub
->redpallas
port for single signature verification, modulo the batching and the multiscalar multiplication required for that, as the math needs updating or replacing completely.The code in this pull request has:
Review
This unblocks @oxarbitrage
Related Issues
This technically fulfills #2044, but I don't know if we want it to be the long-term solution. @mpguerra
Follow Up Work
The batch math: #2098