Type Alias reef::cap::NullifierSet

source ·
pub type NullifierSet = HashSet<ArbitraryNullifier>;
Expand description

A set of nullifiers.

The simplest implementation of the CAP NullifierSet trait simply stores all the nullifiers that are inserted in a HashSet.

Aliased Type§

struct NullifierSet { /* private fields */ }

Trait Implementations§

source§

impl NullifierSet for NullifierSet

§

type Proof = ()

Authentication that a given nullifier is or isn’t in the set.
source§

fn multi_insert( &mut self, nullifiers: &[(Nullifier, Self::Proof)] ) -> Result<(), Self::Proof>

Update the set to include additional nullifiers. Read more