-
Notifications
You must be signed in to change notification settings - Fork 106
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
Use RedJubjub types in zebra-chain. #142
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.
❤️
/// | ||
/// XXX refine to a specific type. | ||
pub rk: [u8; 32], | ||
pub rk: redjubjub::PublicKeyBytes<SpendAuth>, |
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.
❤️
/// XXX refine to a specific type: redjubjub signature? | ||
/// XXX for now it's [u64; 8] instead of [u8; 64] to get trait impls | ||
pub spend_auth_sig: [u64; 8], | ||
pub spend_auth_sig: redjubjub::Signature<SpendAuth>, |
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.
❤️
// XXX refine this type to a RedJubjub signature. | ||
// for now it's [u64; 8] rather than [u8; 64] to get trait impls | ||
pub binding_sig: [u64; 8], | ||
pub binding_sig: redjubjub::Signature<Binding>, |
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.
❤️
Co-authored-by: Jonathan Bird <jonathanbird+github@gmail.com>
Ticks one box off of #123
Closes #125.