Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lmdb_store_message.hpp
Go to the documentation of this file.
1#pragma once
5#include "msgpack/adaptor/define_decl.hpp"
6#include <cstdint>
7#include <optional>
8#include <string>
9
11
12using namespace bb::messaging;
13
32
38
44
49
50struct HasRequest {
51 // std::map<lmdblib::Key, std::optional<lmdblib::Value>> entries;
53 std::string db;
55};
56
58 // std::map<lmdblib::Key, bool> exists;
59 std::vector<bool> exists;
61};
62
69
74
83
89
95
101
106
112
118
123
128
135
141
142} // namespace bb::nodejs::lmdb_store
143
std::vector< Key > KeysVector
Definition types.hpp:13
std::vector< uint8_t > Key
Definition types.hpp:11
std::vector< KeyValuesPair > KeyDupValuesVector
Definition types.hpp:18
std::vector< OptionalValues > OptionalValuesVector
Definition types.hpp:17
std::vector< KeyOptionalValuesPair > KeyOptionalValuesVector
Definition types.hpp:20
const uint32_t FIRST_APP_MSG_TYPE
Definition header.hpp:10
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
MSGPACK_FIELDS(addEntries, removeEntries)
lmdblib::KeyOptionalValuesVector removeEntries
lmdblib::KeyDupValuesVector addEntries
std::map< std::string, Batch > batches
lmdblib::OptionalValuesVector values
lmdblib::KeyOptionalValuesVector entries
MSGPACK_FIELDS(key, reverse, count, onePage, db)
MSGPACK_FIELDS(stats, dbMapSizeBytes, dbPhysicalFileSizeBytes)
std::vector< lmdblib::DBStats > stats