Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
wsdb_ipc_client_generated.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE - DO NOT EDIT
2#pragma once
3
7
8#include <memory>
9#include <string>
10
11namespace bb::wsdb {
12
20 public:
21 explicit WsdbIpcClient(const std::string& socket_path);
23
24 WsdbIpcClient(const WsdbIpcClient&) = delete;
26
38 void append_leaves(WsdbAppendLeaves cmd) const;
41 void update_archive(WsdbUpdateArchive cmd) const;
43 void rollback();
56 void copy_stores(WsdbCopyStores cmd) const;
57 void shutdown();
58
59 private:
60 template <typename Cmd> typename Cmd::Response send(Cmd&& cmd) const;
61
63};
64
65} // namespace bb::wsdb
std::shared_ptr< Napi::ThreadSafeFunction > revert_checkpoint
std::shared_ptr< Napi::ThreadSafeFunction > commit_checkpoint
std::shared_ptr< Napi::ThreadSafeFunction > create_checkpoint
Auto-generated IPC client.
Cmd::Response send(Cmd &&cmd) const
std::unique_ptr< ipc::IpcClient > client_
void delete_fork(WsdbDeleteFork cmd)
WsdbGetSiblingPath::Response get_sibling_path(WsdbGetSiblingPath cmd) const
WsdbIpcClient & operator=(const WsdbIpcClient &)=delete
WsdbGetBlockNumbersForLeafIndices::Response get_block_numbers_for_leaf_indices(WsdbGetBlockNumbersForLeafIndices cmd) const
WsdbBatchInsert::Response batch_insert(WsdbBatchInsert cmd) const
void copy_stores(WsdbCopyStores cmd) const
WsdbCreateFork::Response create_fork(WsdbCreateFork cmd)
void update_archive(WsdbUpdateArchive cmd) const
WsdbRemoveHistoricalBlocks::Response remove_historical_blocks(WsdbRemoveHistoricalBlocks cmd) const
WsdbUnwindBlocks::Response unwind_blocks(WsdbUnwindBlocks cmd)
WsdbFindLeafIndices::Response find_leaf_indices(WsdbFindLeafIndices cmd) const
WsdbFinalizeBlocks::Response finalize_blocks(WsdbFinalizeBlocks cmd) const
WsdbFindSiblingPaths::Response find_sibling_paths(WsdbFindSiblingPaths cmd) const
WsdbGetInitialStateReference::Response get_initial_state_reference() const
WsdbGetTreeInfo::Response get_tree_info(WsdbGetTreeInfo cmd) const
WsdbSyncBlock::Response sync_block(WsdbSyncBlock cmd)
WsdbSequentialInsert::Response sequential_insert(WsdbSequentialInsert cmd) const
void commit_all_checkpoints(WsdbCommitAllCheckpoints cmd)
WsdbGetLeafValue::Response get_leaf_value(WsdbGetLeafValue cmd) const
WsdbGetStateReference::Response get_state_reference(WsdbGetStateReference cmd) const
WsdbFindLowLeaf::Response find_low_leaf(WsdbFindLowLeaf cmd) const
WsdbIpcClient(const WsdbIpcClient &)=delete
void append_leaves(WsdbAppendLeaves cmd) const
WsdbGetLeafPreimage::Response get_leaf_preimage(WsdbGetLeafPreimage cmd) const
WsdbGetStatus::Response get_status() const
void revert_all_checkpoints(WsdbRevertAllCheckpoints cmd)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
WsdbCommand NamedUnion, WsdbRequest context, and dispatch function.