-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add a Rho
type, to distinguish from revealed nullifiers of spent notes.
#421
Conversation
9fe0e59
to
562896f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #421 +/- ##
==========================================
- Coverage 80.49% 79.98% -0.52%
==========================================
Files 30 30
Lines 3158 3192 +34
==========================================
+ Hits 2542 2553 +11
- Misses 616 639 +23 ☔ View full report in Codecov by Sentry. |
Rho
type, to distinguish from revealed note nullifiers.Rho
type, to distinguish from revealed nullifiers of spent notes.
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.
Reviewed 562896f.
@@ -9,7 +9,7 @@ pub(crate) struct TestVector { | |||
pub(crate) rseed: [u8; 32], | |||
pub(crate) memo: [u8; 512], | |||
pub(crate) cv_net: [u8; 32], | |||
pub(crate) rho: [u8; 32], | |||
pub(crate) nf_old: [u8; 32], |
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.
If we're changing this, we need to also change it in zcash-test-vectors
which is what generates this.
e0c9064
to
67f7e8f
Compare
a7b1dc7
to
25fe0e4
Compare
force-pushed to rebase to |
201b012
to
b2efb4c
Compare
This should probably be re-reviewed in its entirety at this point; by making it possible to create fake |
This change removes the ability to construct a `Rho` value directly from the public API, except via deserialization from bytes (which is necessary in order to be able to serialize a `Note`). Ordinarily, `Rho` should be obtained either from an already-constructed `Note` or from an `Action` or `CompactAction`.
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.
utACK 1a8ded0
No description provided.