Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "merkle_tree.hpp"
#include "barretenberg/common/streams.hpp"
#include "barretenberg/common/test.hpp"
#include "barretenberg/numeric/random/engine.hpp"
#include "memory_store.hpp"
#include "memory_tree.hpp"
Go to the source code of this file.
Typedefs | |
using | Builder = UltraCircuitBuilder |
using | field_ct = field_t< Builder > |
using | witness_ct = witness_t< Builder > |
Functions | |
TEST (crypto_merkle_tree, test_kv_memory_vs_memory_consistency) | |
TEST (crypto_merkle_tree, test_size) | |
TEST (crypto_merkle_tree, test_get_hash_path) | |
TEST (crypto_merkle_tree, test_get_sibling_path) | |
TEST (crypto_merkle_tree, test_get_hash_path_layers) | |
TEST (crypto_merkle_tree, test_get_sibling_path_layers) | |
using Builder = UltraCircuitBuilder |
Definition at line 12 of file merkle_tree.test.cpp.
Definition at line 14 of file merkle_tree.test.cpp.
using witness_ct = witness_t<Builder> |
Definition at line 15 of file merkle_tree.test.cpp.
TEST | ( | crypto_merkle_tree | , |
test_get_hash_path | |||
) |
Definition at line 85 of file merkle_tree.test.cpp.
TEST | ( | crypto_merkle_tree | , |
test_get_hash_path_layers | |||
) |
Definition at line 129 of file merkle_tree.test.cpp.
TEST | ( | crypto_merkle_tree | , |
test_get_sibling_path | |||
) |
Definition at line 107 of file merkle_tree.test.cpp.
TEST | ( | crypto_merkle_tree | , |
test_get_sibling_path_layers | |||
) |
Definition at line 158 of file merkle_tree.test.cpp.
TEST | ( | crypto_merkle_tree | , |
test_kv_memory_vs_memory_consistency | |||
) |
Definition at line 29 of file merkle_tree.test.cpp.
TEST | ( | crypto_merkle_tree | , |
test_size | |||
) |
Definition at line 57 of file merkle_tree.test.cpp.