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

#include <lmdb_tree_store.hpp>

Public Member Functions

bool operator== (const BlockIndexPayload &other) const
 
bool is_empty () const
 
block_number_t get_min_block_number ()
 
bool contains (const block_number_t &blockNumber)
 
void delete_block (const block_number_t &blockNumber)
 
void add_block (const block_number_t &blockNumber)
 

Public Attributes

std::vector< block_number_tblockNumbers
 

Detailed Description

Definition at line 69 of file lmdb_tree_store.hpp.

Member Function Documentation

◆ add_block()

void bb::crypto::merkle_tree::BlockIndexPayload::add_block ( const block_number_t blockNumber)
inline

Definition at line 122 of file lmdb_tree_store.hpp.

◆ contains()

bool bb::crypto::merkle_tree::BlockIndexPayload::contains ( const block_number_t blockNumber)
inline

Definition at line 80 of file lmdb_tree_store.hpp.

◆ delete_block()

void bb::crypto::merkle_tree::BlockIndexPayload::delete_block ( const block_number_t blockNumber)
inline

Definition at line 91 of file lmdb_tree_store.hpp.

◆ get_min_block_number()

block_number_t bb::crypto::merkle_tree::BlockIndexPayload::get_min_block_number ( )
inline

Definition at line 78 of file lmdb_tree_store.hpp.

◆ is_empty()

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

Definition at line 76 of file lmdb_tree_store.hpp.

◆ operator==()

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

Definition at line 74 of file lmdb_tree_store.hpp.

Member Data Documentation

◆ blockNumbers

std::vector<block_number_t> bb::crypto::merkle_tree::BlockIndexPayload::blockNumbers

Definition at line 70 of file lmdb_tree_store.hpp.


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