Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Nullifiers

A nullifier is a secret bound at note creation, and published later to destroy the note. Each note has a distinct nullifier per epoch.

To spend a note, a transaction author must prove that no valid nullifier for the note has been published in the pool between the note's creation and some anchor1. Spending a note publishes two of its nullifiers to the pool, for the anchor epoch and the next epoch, making such a proof impossible to produce for later anchors.

Pool state is likely to advance between proof creation and mining, so consensus closes the gap by confirming the nullifiers did not enter the pool in the interim.2 The second nullifier allows consensus to tolerate an epoch transition in that interim.

Derivation

A nullifier is the output of a Poseidon sponge. Abstractly,

Because is the output of a pseudo-random function of master key and epoch , distinct epochs have unrelated nullifiers.

Epochs are grouped at sponge rate for proof efficiency. One sponge squeezes consecutive nullifiers starting at base epoch

So is the member at position in its group.

Binding

The master key is derived from the note trapdoor and nullifier key .

The note commitment digests and the payment key , which transitively binds via its own derivation, closing the circle with .

Distinct notes under the same should not re-use because the pair produce an identical and identical sequence of nullifiers.

Delegation

A delegate may observe pool state and prove the absence of nullifiers without holding key material or any information about a note.

The delegate is provided an arbitrary sequence of values to prove absent from epochs and these tested values are committed as a contiguous sequence.

In parallel, proves derivation of a nullifier sequence for a range at least covering the delegated sequence.

Witness material is prepared for the expected complement.

The delegate returns its proof of absence, and the relationship is verified by challenge.

The delegate's values are arbitrary until bound to a proven derivation. If the delegate constructed a proof diverging from the correct sequence, no relationship can be established with and the delegate's proof is useless.


  1. Anchor describes the pool state commitment. ↩

  2. See Tachygrams for the unified consensus rule covering all published tachygrams. ↩