3#include "../memory_tree.hpp"
4#include "nullifier_leaf.hpp"
75 using MemoryTree::get_hash_path;
76 using MemoryTree::root;
77 using MemoryTree::update_element;
79 fr update_element(
fr const& value);
81 const std::vector<barretenberg::fr>& get_hashes() {
return hashes_; }
86 const std::vector<WrappedNullifierLeaf>& get_leaves() {
return leaves_; }
89 using MemoryTree::depth_;
90 using MemoryTree::hashes_;
91 using MemoryTree::root_;
92 using MemoryTree::total_size_;
93 std::vector<WrappedNullifierLeaf> leaves_;
Definition: memory_tree.hpp:27
Definition: nullifier_memory_tree.hpp:70
Wrapper for the Nullifier leaf class that allows for 0 values.
Definition: nullifier_leaf.hpp:34
static WrappedNullifierLeaf zero()
Generate a zero leaf (call the constructor with no arguments)
Definition: nullifier_leaf.hpp:82
constexpr_utils defines some helper methods that perform some stl-equivalent operations but in a cons...
Definition: constexpr_utils.hpp:16
Definition: widget.bench.cpp:13