Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lmdb_store_wrapper.cpp File Reference
#include "barretenberg/nodejs_module/lmdb_store/lmdb_store_wrapper.hpp"
#include "barretenberg/lmdblib/lmdb_store.hpp"
#include "barretenberg/lmdblib/types.hpp"
#include "barretenberg/nodejs_module/lmdb_store/lmdb_store_message.hpp"
#include "napi.h"
#include <algorithm>
#include <bits/chrono.h>
#include <chrono>
#include <cstdint>
#include <iterator>
#include <memory>
#include <optional>
#include <ratio>
#include <stdexcept>
#include <utility>

Go to the source code of this file.

Variables

const uint64_t DEFAULT_MAP_SIZE = 1024UL * 1024
 
const uint64_t DEFAULT_MAX_READERS = 16
 
const uint64_t DEFAULT_CURSOR_PAGE_SIZE = 10
 

Variable Documentation

◆ DEFAULT_CURSOR_PAGE_SIZE

const uint64_t DEFAULT_CURSOR_PAGE_SIZE = 10

Definition at line 22 of file lmdb_store_wrapper.cpp.

◆ DEFAULT_MAP_SIZE

const uint64_t DEFAULT_MAP_SIZE = 1024UL * 1024

Definition at line 20 of file lmdb_store_wrapper.cpp.

◆ DEFAULT_MAX_READERS

const uint64_t DEFAULT_MAX_READERS = 16

Definition at line 21 of file lmdb_store_wrapper.cpp.