Skip to content

Commit

Permalink
Merge pull request #224 from anoma/xuyang/update_nullifier_derivation…
Browse files Browse the repository at this point in the history
…_spec

update nullifier derivation in spec
  • Loading branch information
XuyangSong authored Oct 5, 2023
2 parents 85e8f57 + 9ba6346 commit 8b05247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Note commitments are stored in a global commitment tree. The global commitment t
|`cm` |$E_p$|$cm = \mathrm{NoteCom}(note, rcm\_{note})$|

### 2.4 Nullifier
Note nullifiers are stored in a global nullifier set. Adding a note's nullifier to the set invalidates the note. We use the same nullifier derivation algorithm as in Orchard: $\mathrm{DeriveNullifier}_{nk}(ρ, ψ, cm) = \mathrm{Extract}([PRF^{nf}_{nk}(ρ) + ψ \mod{q}]K + cm)$.
Note nullifiers are stored in a global nullifier set. Adding a note's nullifier to the set invalidates the note. We use the same nullifier derivation algorithm as in Orchard: $\mathrm{DeriveNullifier}_{nk}(ρ, ψ, cm) = PRF^{nf}_{nk}(ρ, ψ, cm)$.

|Name|Type/size|Description|
|-|-|-|
Expand Down

0 comments on commit 8b05247

Please sign in to comment.