Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <libsnark/common/data_structures/merkle_tree.hpp>
#include <libsnark/gadgetlib1/gadget.hpp>
#include <libsnark/gadgetlib1/gadgets/hashes/crh_gadget.hpp>
#include <libsnark/gadgetlib1/gadgets/hashes/digest_selector_gadget.hpp>
#include <libsnark/gadgetlib1/gadgets/hashes/hash_io.hpp>
#include <libsnark/gadgetlib1/gadgets/merkle_tree/merkle_authentication_path_variable.hpp>
#include <libsnark/gadgetlib1/gadgets/merkle_tree/merkle_tree_check_read_gadget.tcc>
Go to the source code of this file.
Classes | |
class | libsnark::merkle_tree_check_read_gadget< FieldT, HashT > |
Namespaces | |
libsnark | |
Functions | |
template<typename FieldT , typename HashT > | |
void | libsnark::test_merkle_tree_check_read_gadget () |
Declaration of interfaces for the Merkle tree check read gadget.
The gadget checks the following: given a root R, address A, value V, and authentication path P, check that P is a valid authentication path for the value V as the A-th leaf in a Merkle tree with root R.
Definition in file merkle_tree_check_read_gadget.hpp.