Expand description
Checks for nullifier uniqueness.
Functions§
- add_
to_ 🔒non_ finalized_ chain_ unique - Reject double-spends of nullifers:
- find_
duplicate_ 🔒nullifier - Accepts an iterator of revealed nullifiers, a predicate fn for checking if a nullifier is in in the finalized chain, and a predicate fn for checking if the nullifier is in the non-finalized chain
- no_
duplicates_ 🔒in_ finalized_ chain - Reject double-spends of nullifers:
- remove_
from_ 🔒non_ finalized_ chain - Remove nullifiers that were previously added to this non-finalized
Chain
by this shielded data. - tx_
no_ 🔒duplicates_ in_ chain - Reject double-spends of nullifiers: