|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <merkle_check.hpp>
Public Member Functions | |
| MerkleCheck (Poseidon2Interface &poseidon2, EventEmitterInterface< MerkleCheckEvent > &event_emitter) | |
| void | assert_membership (const FF &leaf_value, const uint64_t leaf_index, std::span< const FF > sibling_path, const FF &root) override |
| FF | write (const FF ¤t_value, const FF &new_value, const uint64_t leaf_index, std::span< const FF > sibling_path, const FF ¤t_root) override |
Public Member Functions inherited from bb::avm2::simulation::MerkleCheckInterface | |
| virtual | ~MerkleCheckInterface ()=default |
Private Attributes | |
| EventEmitterInterface< MerkleCheckEvent > & | events |
| Poseidon2Interface & | poseidon2 |
Definition at line 17 of file merkle_check.hpp.
|
inline |
Definition at line 19 of file merkle_check.hpp.
|
overridevirtual |
Implements bb::avm2::simulation::MerkleCheckInterface.
Definition at line 10 of file merkle_check.cpp.
|
overridevirtual |
Implements bb::avm2::simulation::MerkleCheckInterface.
Definition at line 41 of file merkle_check.cpp.
|
private |
Definition at line 36 of file merkle_check.hpp.
|
private |
Definition at line 37 of file merkle_check.hpp.