|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <indexed_memory_tree.hpp>
Public Member Functions | |
| IndexedMemoryTree (size_t depth, size_t num_default_values) | |
| IndexedMemoryTree (size_t depth, std::span< IndexedLeaf< LeafType > > initial_leaves) | |
| GetLowIndexedLeafResponse | get_low_indexed_leaf (const FF &key) const |
| IndexedLeaf< LeafType > | get_leaf_preimage (size_t leaf_index) const |
| SiblingPath | get_sibling_path (size_t leaf_index) const |
| AppendOnlyTreeSnapshot | get_snapshot () const |
| SequentialInsertionResult< LeafType > | insert_indexed_leaves (std::span< const LeafType > leaves) |
Private Member Functions | |
| void | append_leaf (const IndexedLeaf< LeafType > &leaf) |
Private Attributes | |
| MemoryTree< HashingPolicy > | tree |
| size_t | depth |
| size_t | max_leaves |
| std::vector< IndexedLeaf< LeafType > > | leaves |
Definition at line 10 of file indexed_memory_tree.hpp.
| bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::IndexedMemoryTree | ( | size_t | depth, |
| size_t | num_default_values | ||
| ) |
Definition at line 35 of file indexed_memory_tree.hpp.
| bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::IndexedMemoryTree | ( | size_t | depth, |
| std::span< IndexedLeaf< LeafType > > | initial_leaves | ||
| ) |
Definition at line 74 of file indexed_memory_tree.hpp.
|
private |
Definition at line 189 of file indexed_memory_tree.hpp.
| IndexedLeaf< LeafType > bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::get_leaf_preimage | ( | size_t | leaf_index | ) | const |
Definition at line 118 of file indexed_memory_tree.hpp.
| GetLowIndexedLeafResponse bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::get_low_indexed_leaf | ( | const FF & | key | ) | const |
Definition at line 97 of file indexed_memory_tree.hpp.
| SiblingPath bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::get_sibling_path | ( | size_t | leaf_index | ) | const |
Definition at line 124 of file indexed_memory_tree.hpp.
| AppendOnlyTreeSnapshot bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::get_snapshot | ( | ) | const |
Definition at line 130 of file indexed_memory_tree.hpp.
| SequentialInsertionResult< LeafType > bb::avm2::simulation::IndexedMemoryTree< LeafType, HashingPolicy >::insert_indexed_leaves | ( | std::span< const LeafType > | leaves | ) |
Definition at line 139 of file indexed_memory_tree.hpp.
|
private |
Definition at line 29 of file indexed_memory_tree.hpp.
|
private |
Definition at line 31 of file indexed_memory_tree.hpp.
|
private |
Definition at line 30 of file indexed_memory_tree.hpp.
|
private |
Definition at line 28 of file indexed_memory_tree.hpp.