Skip to content

Add interface and computation of Sapling note nullifier#19

Merged
str4d merged 2 commits into
zcash:masterfrom
bitcartel:add_note_nullifier_computation
Jun 8, 2018
Merged

Add interface and computation of Sapling note nullifier#19
str4d merged 2 commits into
zcash:masterfrom
bitcartel:add_note_nullifier_computation

Conversation

@bitcartel
Copy link
Copy Markdown
Contributor

Adds new functions: librustzcash_sapling_compute_nf(), priv_get_note()

Also add function priv_get_note to refactor common code from librustzcash_sapling_compute_cm.
@bitcartel bitcartel self-assigned this Jun 7, 2018
@bitcartel bitcartel requested review from daira, ebfull and str4d June 7, 2018 17:43
Copy link
Copy Markdown
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK. We should test this against vectors from the Python implementation.

Comment thread src/tests/notes.rs Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/nullifierand/nullifier and/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo and pushed (and this test file notes.rs is already testing against vectors from Python)

Rename test: commitments -> notes.
@bitcartel bitcartel force-pushed the add_note_nullifier_computation branch from e5d3bbb to 11552c1 Compare June 8, 2018 21:04
Copy link
Copy Markdown
Contributor

@str4d str4d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK+cov

Comment thread src/rustzcash.rs
result: *mut [c_uchar; 32],
) -> bool {
let note = match priv_get_note(diversifier, pk_d, value, r) {
Ok(p) => p,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: s/p/n/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can fix later.

@bitcartel
Copy link
Copy Markdown
Contributor Author

@zkbot r+

@str4d
Copy link
Copy Markdown
Contributor

str4d commented Jun 8, 2018

@bitcartel Homu is only connected to the zcash/zcash repo (for now).

@str4d str4d merged commit 0af1ce8 into zcash:master Jun 8, 2018
Copy link
Copy Markdown
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-hoc ut(ACK+cov)

str4d pushed a commit to str4d/librustzcash that referenced this pull request Aug 28, 2018
ebfull added a commit to ebfull/librustzcash that referenced this pull request Jun 3, 2019
Duddino pushed a commit to Duddino/librustzcash that referenced this pull request May 24, 2023
Add implementation of cyclotomic squaring for final exponentiation step
greg0x referenced this pull request in valargroup/librustzcash Mar 12, 2026
Documents the mobile voting stack introduced across PRs #8 and #19:
layer diagram, data flow (SQLite as single source of truth),
round lifecycle phases, real vs stubbed status, and rebuild workflow.
greg0x referenced this pull request in valargroup/librustzcash Mar 12, 2026
Add SQLite storage to librustvoting and wire through to iOS prototype
nuttycom added a commit that referenced this pull request Mar 25, 2026
…f0768ea4..dd0ea2c3c5

dd0ea2c3c5 Merge pull request #23 from zcash/2026-03-doc-fixes
93b26b7db1 v0.4.1 release - minor doc fixups
d528fa82e3 Merge pull request #22 from zcash/2025-12-doc-git-subtree
b421ef0b34 Merge pull request #22 from zcash/2025-12-doc-git-subtree
4a26e54c36 Fix git subtree command syntax in README
34bb38b606 Merge pull request #20 from zcash/doc/get_block
a507182f92 Document GetBlock transparent data behavior and clarify nullifier RPCs
fc5cc9a4b1 Merge pull request #19 from zcash/deprecate_get_nullifiers
f0ebc72cad Mark `GetBlockNullifiers` and `GetBlockRangeNullifiers` as deprecated.
9a5f7a0eec Merge pull request #16 from zcash/2026-01-remove-fullHeader
f1095897d9 revert the previous PR that added BlockID.fullHeader
99d9bf9fff Merge pull request #15 from zcash/2025-12-compactblock-doc
bbdd689d73 either CompactBlock.{hash, prevHash}, or CompactBlock.header
aa42926ed3 Merge pull request #13 from pacu/add-README
da4d3d57d8 Add rationale suggested by @LarryRuane
4edd22465b fix type
e36df314b8 clean up whitespace and line width
215cb5a3f3 Add PR suggestions. Organize Clients section
3e78d5d872 Apply suggestions from code review
96b86544db Apply suggestion from @LarryRuane
6259b97df0 Apply suggestion from @nuttycom
f2fcef3e42 Apply suggestion from @nuttycom
8cc1e66b11 Apply suggestion from @LarryRuane
99132222dd Apply suggestion from @nuttycom
207cc5e6f9 create a README file with context and instructions
7392b9706f Merge pull request #12 from zcash/release/v0.4.0

git-subtree-dir: zcash_client_backend/lightwallet-protocol
git-subtree-split: dd0ea2c3c5827a433e62c2f936b89efa2dec5a9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants