Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
types.hpp File Reference

Go to the source code of this file.

Classes

struct  bb::world_state::WorldStateRevision
 
struct  bb::world_state::WorldStateStatusSummary
 
struct  bb::world_state::WorldStateDBStats
 
struct  bb::world_state::WorldStateMeta
 
struct  bb::world_state::WorldStateStatusFull
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::world_state
 

Typedefs

using bb::world_state::TreeStateReference = std::pair< bb::fr, bb::crypto::merkle_tree::index_t >
 
using bb::world_state::StateReference = std::unordered_map< MerkleTreeId, TreeStateReference >
 

Enumerations

enum  bb::world_state::MerkleTreeId {
  bb::world_state::NULLIFIER_TREE = 0 , bb::world_state::NOTE_HASH_TREE = 1 , bb::world_state::PUBLIC_DATA_TREE = 2 , bb::world_state::L1_TO_L2_MESSAGE_TREE = 3 ,
  bb::world_state::ARCHIVE = 4
}
 

Functions

std::string bb::world_state::getMerkleTreeName (MerkleTreeId id)
 

Variables

const uint64_t bb::world_state::CANONICAL_FORK_ID = 0
 
const uint64_t bb::world_state::NUM_TREES = 5