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

#include <tree_meta.hpp>

Public Member Functions

 MSGPACK_FIELDS (name, depth, size, committedSize, root, initialSize, initialRoot, oldestHistoricBlock, unfinalizedBlockHeight, finalizedBlockHeight) TreeMeta(std
 
 TreeMeta ()=default
 
 ~TreeMeta ()=default
 
 TreeMeta (const TreeMeta &other)=default
 
 TreeMeta (TreeMeta &&other) noexcept
 
TreeMetaoperator= (const TreeMeta &other)=default
 
TreeMetaoperator= (TreeMeta &&other) noexcept=default
 
bool operator== (const TreeMeta &other) const
 

Public Attributes

std::string name
 
uint32_t depth
 
index_t size
 
index_t committedSize
 
bb::fr root
 
index_t initialSize
 
bb::fr initialRoot
 
block_number_t oldestHistoricBlock
 
block_number_t unfinalizedBlockHeight
 
block_number_t finalizedBlockHeight
 

Detailed Description

Definition at line 18 of file tree_meta.hpp.

Constructor & Destructor Documentation

◆ TreeMeta() [1/3]

bb::crypto::merkle_tree::TreeMeta::TreeMeta ( )
default

◆ ~TreeMeta()

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

◆ TreeMeta() [2/3]

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

◆ TreeMeta() [3/3]

bb::crypto::merkle_tree::TreeMeta::TreeMeta ( TreeMeta &&  other)
inlinenoexcept

Definition at line 65 of file tree_meta.hpp.

Member Function Documentation

◆ MSGPACK_FIELDS()

bb::crypto::merkle_tree::TreeMeta::MSGPACK_FIELDS ( name  ,
depth  ,
size  ,
committedSize  ,
root  ,
initialSize  ,
initialRoot  ,
oldestHistoricBlock  ,
unfinalizedBlockHeight  ,
finalizedBlockHeight   
)
inline

Definition at line 30 of file tree_meta.hpp.

◆ operator=() [1/2]

TreeMeta & bb::crypto::merkle_tree::TreeMeta::operator= ( const TreeMeta other)
default

◆ operator=() [2/2]

TreeMeta & bb::crypto::merkle_tree::TreeMeta::operator= ( TreeMeta &&  other)
defaultnoexcept

◆ operator==()

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

Definition at line 69 of file tree_meta.hpp.

Member Data Documentation

◆ committedSize

index_t bb::crypto::merkle_tree::TreeMeta::committedSize

Definition at line 22 of file tree_meta.hpp.

◆ depth

uint32_t bb::crypto::merkle_tree::TreeMeta::depth

Definition at line 20 of file tree_meta.hpp.

◆ finalizedBlockHeight

block_number_t bb::crypto::merkle_tree::TreeMeta::finalizedBlockHeight

Definition at line 28 of file tree_meta.hpp.

◆ initialRoot

bb::fr bb::crypto::merkle_tree::TreeMeta::initialRoot

Definition at line 25 of file tree_meta.hpp.

◆ initialSize

index_t bb::crypto::merkle_tree::TreeMeta::initialSize

Definition at line 24 of file tree_meta.hpp.

◆ name

std::string bb::crypto::merkle_tree::TreeMeta::name

Definition at line 19 of file tree_meta.hpp.

◆ oldestHistoricBlock

block_number_t bb::crypto::merkle_tree::TreeMeta::oldestHistoricBlock

Definition at line 26 of file tree_meta.hpp.

◆ root

bb::fr bb::crypto::merkle_tree::TreeMeta::root

Definition at line 23 of file tree_meta.hpp.

◆ size

index_t bb::crypto::merkle_tree::TreeMeta::size

Definition at line 21 of file tree_meta.hpp.

◆ unfinalizedBlockHeight

block_number_t bb::crypto::merkle_tree::TreeMeta::unfinalizedBlockHeight

Definition at line 27 of file tree_meta.hpp.


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