25static auto create_values = [](uint32_t num_values =
NUM_VALUES) {
26 std::vector<fr> values(num_values);
27 for (uint32_t i = 0; i < num_values; ++i) {
33static std::vector<fr> VALUES = create_values();
49inline void print_tree(
const uint32_t depth, std::vector<fr> hashes, std::string
const& msg)
53 for (uint32_t i = 0; i < depth; i++) {
55 uint32_t layer_size = (1U << (depth - i));
56 for (uint32_t j = 0; j < layer_size; j++) {
74 db->get_stats(stats, *tx);
std::shared_ptr< LMDBTreeStore > SharedPtr
std::unique_ptr< LMDBReadTransaction > Ptr
ThreadPoolPtr make_thread_pool(uint64_t numThreads)
const uint32_t NUM_VALUES
std::string random_temp_directory()
std::string random_string()
void print_tree(const uint32_t depth, std::vector< fr > hashes, std::string const &msg)
std::shared_ptr< ThreadPool > ThreadPoolPtr
void print_store_data(LMDBTreeStore::SharedPtr db, std::ostream &os)
RNG & get_debug_randomness(bool reset, std::uint_fast64_t seed)
field< Bn254FrParams > fr
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept