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

#include <wsdb_commands.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (WsdbRequest &request) &&
 
 SERIALIZATION_FIELDS (treeId, leaves, forkId)
 
bool operator== (const WsdbAppendLeaves &) const =default
 

Public Attributes

MerkleTreeId treeId
 
std::vector< std::vector< uint8_t > > leaves
 
Fork::Id forkId { CANONICAL_FORK_ID }
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "WsdbAppendLeaves"
 

Detailed Description

Definition at line 213 of file wsdb_commands.hpp.

Member Function Documentation

◆ execute()

WsdbAppendLeaves::Response bb::wsdb::WsdbAppendLeaves::execute ( WsdbRequest request) &&

Definition at line 213 of file wsdb_execute.cpp.

◆ operator==()

bool bb::wsdb::WsdbAppendLeaves::operator== ( const WsdbAppendLeaves ) const
default

◆ SERIALIZATION_FIELDS()

bb::wsdb::WsdbAppendLeaves::SERIALIZATION_FIELDS ( treeId  ,
leaves  ,
forkId   
)

Member Data Documentation

◆ forkId

Fork::Id bb::wsdb::WsdbAppendLeaves::forkId { CANONICAL_FORK_ID }

Definition at line 223 of file wsdb_commands.hpp.

◆ leaves

std::vector<std::vector<uint8_t> > bb::wsdb::WsdbAppendLeaves::leaves

Definition at line 222 of file wsdb_commands.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char bb::wsdb::WsdbAppendLeaves::MSGPACK_SCHEMA_NAME[] = "WsdbAppendLeaves"
staticconstexpr

Definition at line 214 of file wsdb_commands.hpp.

◆ treeId

MerkleTreeId bb::wsdb::WsdbAppendLeaves::treeId

Definition at line 220 of file wsdb_commands.hpp.


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