Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
fork.hpp
Go to the documentation of this file.
1#pragma once
2
9#include <memory>
10#include <unordered_map>
11
Implements a simple append-only merkle tree All methods are asynchronous unless specified as otherwis...
Serves as a key-value node store for merkle trees. Caches all changes in memory before persisting the...
Implements a parallelized batch insertion indexed tree Accepts template argument of the type of store...
std::variant< TreeWithStore< FrTree >, TreeWithStore< NullifierTree >, TreeWithStore< PublicDataTree > > Tree
Definition fork.hpp:25
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::unordered_map< MerkleTreeId, Tree > _trees
Definition fork.hpp:31
index_t _blockNumber
Definition fork.hpp:32
std::shared_ptr< Fork > SharedPtr
Definition fork.hpp:29