Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::crypto::merkle_tree::NullifierLeafValue Struct Reference

#include <indexed_leaf.hpp>

Public Member Functions

 NullifierLeafValue ()=default
 
 NullifierLeafValue (const fr &n)
 
 NullifierLeafValue (const NullifierLeafValue &other)=default
 
 NullifierLeafValue (NullifierLeafValue &&other)=default
 
NullifierLeafValueoperator= (const NullifierLeafValue &other)
 
NullifierLeafValueoperator= (NullifierLeafValue &&other) noexcept
 
 ~NullifierLeafValue ()=default
 
bool operator== (NullifierLeafValue const &other) const
 
fr get_key () const
 
bool is_empty () const
 
std::vector< frget_hash_inputs (fr nextKey, fr nextIndex) const
 
 operator uint256_t () const
 
size_t hash () const noexcept
 

Static Public Member Functions

static bool is_updateable ()
 
static NullifierLeafValue empty ()
 
static NullifierLeafValue padding (index_t i)
 
static std::string name ()
 

Public Attributes

fr nullifier
 

Friends

std::ostream & operator<< (std::ostream &os, const NullifierLeafValue &v)
 

Detailed Description

Definition at line 17 of file indexed_leaf.hpp.

Constructor & Destructor Documentation

◆ NullifierLeafValue() [1/4]

bb::crypto::merkle_tree::NullifierLeafValue::NullifierLeafValue ( )
default

◆ NullifierLeafValue() [2/4]

bb::crypto::merkle_tree::NullifierLeafValue::NullifierLeafValue ( const fr n)
inline

Definition at line 23 of file indexed_leaf.hpp.

◆ NullifierLeafValue() [3/4]

bb::crypto::merkle_tree::NullifierLeafValue::NullifierLeafValue ( const NullifierLeafValue other)
default

◆ NullifierLeafValue() [4/4]

bb::crypto::merkle_tree::NullifierLeafValue::NullifierLeafValue ( NullifierLeafValue &&  other)
default

◆ ~NullifierLeafValue()

bb::crypto::merkle_tree::NullifierLeafValue::~NullifierLeafValue ( )
default

Member Function Documentation

◆ empty()

static NullifierLeafValue bb::crypto::merkle_tree::NullifierLeafValue::empty ( )
inlinestatic

Definition at line 66 of file indexed_leaf.hpp.

◆ get_hash_inputs()

std::vector< fr > bb::crypto::merkle_tree::NullifierLeafValue::get_hash_inputs ( fr  nextKey,
fr  nextIndex 
) const
inline

Definition at line 59 of file indexed_leaf.hpp.

◆ get_key()

fr bb::crypto::merkle_tree::NullifierLeafValue::get_key ( ) const
inline

Definition at line 55 of file indexed_leaf.hpp.

◆ hash()

size_t bb::crypto::merkle_tree::NullifierLeafValue::hash ( ) const
inlinenoexcept

Definition at line 72 of file indexed_leaf.hpp.

◆ is_empty()

bool bb::crypto::merkle_tree::NullifierLeafValue::is_empty ( ) const
inline

Definition at line 57 of file indexed_leaf.hpp.

◆ is_updateable()

static bool bb::crypto::merkle_tree::NullifierLeafValue::is_updateable ( )
inlinestatic

Definition at line 45 of file indexed_leaf.hpp.

◆ name()

static std::string bb::crypto::merkle_tree::NullifierLeafValue::name ( )
inlinestatic

Definition at line 70 of file indexed_leaf.hpp.

◆ operator uint256_t()

bb::crypto::merkle_tree::NullifierLeafValue::operator uint256_t ( ) const
inline

Definition at line 64 of file indexed_leaf.hpp.

◆ operator=() [1/2]

NullifierLeafValue & bb::crypto::merkle_tree::NullifierLeafValue::operator= ( const NullifierLeafValue other)
inline

Definition at line 28 of file indexed_leaf.hpp.

◆ operator=() [2/2]

NullifierLeafValue & bb::crypto::merkle_tree::NullifierLeafValue::operator= ( NullifierLeafValue &&  other)
inlinenoexcept

Definition at line 36 of file indexed_leaf.hpp.

◆ operator==()

bool bb::crypto::merkle_tree::NullifierLeafValue::operator== ( NullifierLeafValue const &  other) const
inline

Definition at line 47 of file indexed_leaf.hpp.

◆ padding()

static NullifierLeafValue bb::crypto::merkle_tree::NullifierLeafValue::padding ( index_t  i)
inlinestatic

Definition at line 68 of file indexed_leaf.hpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const NullifierLeafValue v 
)
friend

Definition at line 49 of file indexed_leaf.hpp.

Member Data Documentation

◆ nullifier

fr bb::crypto::merkle_tree::NullifierLeafValue::nullifier

Definition at line 18 of file indexed_leaf.hpp.


The documentation for this struct was generated from the following file: