|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | WsdbRequest |
| class | WsdbScheduler |
Functions | |
| int | parse_and_run_wsdb (int argc, char *argv[]) |
| void | handle_get_tree_info (WsdbRequest &ctx, wire::WsdbGetTreeInfo &&cmd, Responder< wire::WsdbGetTreeInfoResponse > respond) |
| void | handle_get_state_reference (WsdbRequest &ctx, wire::WsdbGetStateReference &&cmd, Responder< wire::WsdbGetStateReferenceResponse > respond) |
| void | handle_get_initial_state_reference (WsdbRequest &ctx, wire::WsdbGetInitialStateReference &&, Responder< wire::WsdbGetInitialStateReferenceResponse > respond) |
| void | handle_get_leaf_value (WsdbRequest &ctx, wire::WsdbGetLeafValue &&cmd, Responder< wire::WsdbGetLeafValueResponse > respond) |
| void | handle_get_public_data_leaf_value (WsdbRequest &ctx, wire::WsdbGetPublicDataLeafValue &&cmd, Responder< wire::WsdbGetPublicDataLeafValueResponse > respond) |
| void | handle_get_nullifier_leaf_value (WsdbRequest &ctx, wire::WsdbGetNullifierLeafValue &&cmd, Responder< wire::WsdbGetNullifierLeafValueResponse > respond) |
| void | handle_get_public_data_leaf_preimage (WsdbRequest &ctx, wire::WsdbGetPublicDataLeafPreimage &&cmd, Responder< wire::WsdbGetPublicDataLeafPreimageResponse > respond) |
| void | handle_get_nullifier_leaf_preimage (WsdbRequest &ctx, wire::WsdbGetNullifierLeafPreimage &&cmd, Responder< wire::WsdbGetNullifierLeafPreimageResponse > respond) |
| void | handle_get_sibling_path (WsdbRequest &ctx, wire::WsdbGetSiblingPath &&cmd, Responder< wire::WsdbGetSiblingPathResponse > respond) |
| void | handle_get_block_numbers_for_leaf_indices (WsdbRequest &ctx, wire::WsdbGetBlockNumbersForLeafIndices &&cmd, Responder< wire::WsdbGetBlockNumbersForLeafIndicesResponse > respond) |
| void | handle_find_leaf_indices (WsdbRequest &ctx, wire::WsdbFindLeafIndices &&cmd, Responder< wire::WsdbFindLeafIndicesResponse > respond) |
| void | handle_find_public_data_leaf_indices (WsdbRequest &ctx, wire::WsdbFindPublicDataLeafIndices &&cmd, Responder< wire::WsdbFindPublicDataLeafIndicesResponse > respond) |
| void | handle_find_nullifier_leaf_indices (WsdbRequest &ctx, wire::WsdbFindNullifierLeafIndices &&cmd, Responder< wire::WsdbFindNullifierLeafIndicesResponse > respond) |
| void | handle_find_low_leaf (WsdbRequest &ctx, wire::WsdbFindLowLeaf &&cmd, Responder< wire::WsdbFindLowLeafResponse > respond) |
| void | handle_find_sibling_paths (WsdbRequest &ctx, wire::WsdbFindSiblingPaths &&cmd, Responder< wire::WsdbFindSiblingPathsResponse > respond) |
| void | handle_find_public_data_sibling_paths (WsdbRequest &ctx, wire::WsdbFindPublicDataSiblingPaths &&cmd, Responder< wire::WsdbFindPublicDataSiblingPathsResponse > respond) |
| void | handle_find_nullifier_sibling_paths (WsdbRequest &ctx, wire::WsdbFindNullifierSiblingPaths &&cmd, Responder< wire::WsdbFindNullifierSiblingPathsResponse > respond) |
| void | handle_append_leaves (WsdbRequest &ctx, wire::WsdbAppendLeaves &&cmd, Responder< wire::WsdbAppendLeavesResponse > respond) |
| void | handle_append_public_data_leaves (WsdbRequest &ctx, wire::WsdbAppendPublicDataLeaves &&cmd, Responder< wire::WsdbAppendPublicDataLeavesResponse > respond) |
| void | handle_append_nullifier_leaves (WsdbRequest &ctx, wire::WsdbAppendNullifierLeaves &&cmd, Responder< wire::WsdbAppendNullifierLeavesResponse > respond) |
| void | handle_batch_insert_public_data (WsdbRequest &ctx, wire::WsdbBatchInsertPublicData &&cmd, Responder< wire::WsdbBatchInsertPublicDataResponse > respond) |
| void | handle_batch_insert_nullifier (WsdbRequest &ctx, wire::WsdbBatchInsertNullifier &&cmd, Responder< wire::WsdbBatchInsertNullifierResponse > respond) |
| void | handle_sequential_insert_public_data (WsdbRequest &ctx, wire::WsdbSequentialInsertPublicData &&cmd, Responder< wire::WsdbSequentialInsertPublicDataResponse > respond) |
| void | handle_sequential_insert_nullifier (WsdbRequest &ctx, wire::WsdbSequentialInsertNullifier &&cmd, Responder< wire::WsdbSequentialInsertNullifierResponse > respond) |
| void | handle_update_archive (WsdbRequest &ctx, wire::WsdbUpdateArchive &&cmd, Responder< wire::WsdbUpdateArchiveResponse > respond) |
| void | handle_commit (WsdbRequest &ctx, wire::WsdbCommit &&, Responder< wire::WsdbCommitResponse > respond) |
| void | handle_rollback (WsdbRequest &ctx, wire::WsdbRollback &&, Responder< wire::WsdbRollbackResponse > respond) |
| void | handle_sync_block (WsdbRequest &ctx, wire::WsdbSyncBlock &&cmd, Responder< wire::WsdbSyncBlockResponse > respond) |
| void | handle_create_fork (WsdbRequest &ctx, wire::WsdbCreateFork &&cmd, Responder< wire::WsdbCreateForkResponse > respond) |
| void | handle_delete_fork (WsdbRequest &ctx, wire::WsdbDeleteFork &&cmd, Responder< wire::WsdbDeleteForkResponse > respond) |
| void | handle_finalize_blocks (WsdbRequest &ctx, wire::WsdbFinalizeBlocks &&cmd, Responder< wire::WsdbFinalizeBlocksResponse > respond) |
| void | handle_unwind_blocks (WsdbRequest &ctx, wire::WsdbUnwindBlocks &&cmd, Responder< wire::WsdbUnwindBlocksResponse > respond) |
| void | handle_remove_historical_blocks (WsdbRequest &ctx, wire::WsdbRemoveHistoricalBlocks &&cmd, Responder< wire::WsdbRemoveHistoricalBlocksResponse > respond) |
| void | handle_get_status (WsdbRequest &ctx, wire::WsdbGetStatus &&, Responder< wire::WsdbGetStatusResponse > respond) |
| void | handle_create_checkpoint (WsdbRequest &ctx, wire::WsdbCreateCheckpoint &&cmd, Responder< wire::WsdbCreateCheckpointResponse > respond) |
| void | handle_commit_checkpoint (WsdbRequest &ctx, wire::WsdbCommitCheckpoint &&cmd, Responder< wire::WsdbCommitCheckpointResponse > respond) |
| void | handle_revert_checkpoint (WsdbRequest &ctx, wire::WsdbRevertCheckpoint &&cmd, Responder< wire::WsdbRevertCheckpointResponse > respond) |
| void | handle_commit_all_checkpoints (WsdbRequest &ctx, wire::WsdbCommitAllCheckpoints &&cmd, Responder< wire::WsdbCommitAllCheckpointsResponse > respond) |
| void | handle_revert_all_checkpoints (WsdbRequest &ctx, wire::WsdbRevertAllCheckpoints &&cmd, Responder< wire::WsdbRevertAllCheckpointsResponse > respond) |
| void | handle_copy_stores (WsdbRequest &ctx, wire::WsdbCopyStores &&cmd, Responder< wire::WsdbCopyStoresResponse > respond) |
| int | execute_wsdb_server (const std::string &input_path, const std::string &data_dir, const std::string &tree_heights_json, const std::string &tree_prefill_json, const std::string &map_sizes_json, uint32_t threads, uint32_t initial_header_generator_point, const std::string &prefilled_public_data_json, uint64_t genesis_timestamp, size_t request_ring_size, size_t response_ring_size) |
| Start the aztec-wsdb IPC server. | |
| template<typename Resp , typename Fn > | |
| void | schedule_read (WsdbRequest &ctx, uint64_t fork, bool committed, Responder< Resp > respond, Fn &&logic) |
Run a read on fork and respond. committed true => independent snapshot, never ordered; false => waits behind an in-flight write on the fork. | |
| template<typename Resp , typename Fn > | |
| void | schedule_write (WsdbRequest &ctx, uint64_t fork, Responder< Resp > respond, Fn &&logic) |
Run a write on fork (exclusive on that fork) and respond. | |
| Fr | fr_to_wire (const bb::fr &d) |
| bb::fr | fr_from_wire (const Fr &w) |
| BlockHeaderHash | block_header_hash_to_wire (const bb::fr &d) |
| bb::fr | block_header_hash_from_wire (const BlockHeaderHash &w) |
| PublicDataSlot | public_data_slot_to_wire (const bb::fr &d) |
| bb::fr | public_data_slot_from_wire (const PublicDataSlot &w) |
| PublicDataValue | public_data_value_to_wire (const bb::fr &d) |
| bb::fr | public_data_value_from_wire (const PublicDataValue &w) |
| Nullifier | nullifier_to_wire (const bb::fr &d) |
| bb::fr | nullifier_from_wire (const Nullifier &w) |
| std::vector< Fr > | fr_vec_to_wire (const std::vector< bb::fr > &d) |
| std::vector< bb::fr > | fr_vec_from_wire (const std::vector< Fr > &w) |
| wire::WorldStateRevision | revision_to_wire (const world_state::WorldStateRevision &d) |
| world_state::WorldStateRevision | revision_from_wire (const wire::WorldStateRevision &w) |
| MerkleTreeId | tree_id_to_wire (world_state::MerkleTreeId d) |
| world_state::MerkleTreeId | tree_id_from_wire (MerkleTreeId w) |
| wire::PublicDataLeafValue | public_data_leaf_to_wire (const crypto::merkle_tree::PublicDataLeafValue &d) |
| crypto::merkle_tree::PublicDataLeafValue | public_data_leaf_from_wire (const wire::PublicDataLeafValue &w) |
| std::vector< wire::PublicDataLeafValue > | public_data_leaf_vec_to_wire (const std::vector< crypto::merkle_tree::PublicDataLeafValue > &d) |
| std::vector< crypto::merkle_tree::PublicDataLeafValue > | public_data_leaf_vec_from_wire (const std::vector< wire::PublicDataLeafValue > &w) |
| wire::NullifierLeafValue | nullifier_leaf_to_wire (const crypto::merkle_tree::NullifierLeafValue &d) |
| crypto::merkle_tree::NullifierLeafValue | nullifier_leaf_from_wire (const wire::NullifierLeafValue &w) |
| std::vector< wire::NullifierLeafValue > | nullifier_leaf_vec_to_wire (const std::vector< crypto::merkle_tree::NullifierLeafValue > &d) |
| std::vector< crypto::merkle_tree::NullifierLeafValue > | nullifier_leaf_vec_from_wire (const std::vector< wire::NullifierLeafValue > &w) |
| wire::IndexedPublicDataLeafValue | indexed_public_data_leaf_to_wire (const crypto::merkle_tree::IndexedLeaf< crypto::merkle_tree::PublicDataLeafValue > &d) |
| crypto::merkle_tree::IndexedLeaf< crypto::merkle_tree::PublicDataLeafValue > | indexed_public_data_leaf_from_wire (const wire::IndexedPublicDataLeafValue &w) |
| wire::IndexedNullifierLeafValue | indexed_nullifier_leaf_to_wire (const crypto::merkle_tree::IndexedLeaf< crypto::merkle_tree::NullifierLeafValue > &d) |
| crypto::merkle_tree::IndexedLeaf< crypto::merkle_tree::NullifierLeafValue > | indexed_nullifier_leaf_from_wire (const wire::IndexedNullifierLeafValue &w) |
| wire::PublicDataLeafUpdateWitnessData | public_data_witness_to_wire (const crypto::merkle_tree::LeafUpdateWitnessData< crypto::merkle_tree::PublicDataLeafValue > &d) |
| crypto::merkle_tree::LeafUpdateWitnessData< crypto::merkle_tree::PublicDataLeafValue > | public_data_witness_from_wire (const wire::PublicDataLeafUpdateWitnessData &w) |
| wire::NullifierLeafUpdateWitnessData | nullifier_witness_to_wire (const crypto::merkle_tree::LeafUpdateWitnessData< crypto::merkle_tree::NullifierLeafValue > &d) |
| crypto::merkle_tree::LeafUpdateWitnessData< crypto::merkle_tree::NullifierLeafValue > | nullifier_witness_from_wire (const wire::NullifierLeafUpdateWitnessData &w) |
| template<typename Wire , typename Domain , typename Fn > | |
| std::vector< Wire > | vec_to_wire (const std::vector< Domain > &d, Fn fn) |
| template<typename Domain , typename Wire , typename Fn > | |
| std::vector< Domain > | vec_from_wire (const std::vector< Wire > &w, Fn fn) |
| wire::BatchInsertionResultPublicData | batch_public_data_to_wire (const world_state::BatchInsertionResult< crypto::merkle_tree::PublicDataLeafValue > &d) |
| world_state::BatchInsertionResult< crypto::merkle_tree::PublicDataLeafValue > | batch_public_data_from_wire (const wire::BatchInsertionResultPublicData &w) |
| wire::BatchInsertionResultNullifier | batch_nullifier_to_wire (const world_state::BatchInsertionResult< crypto::merkle_tree::NullifierLeafValue > &d) |
| world_state::BatchInsertionResult< crypto::merkle_tree::NullifierLeafValue > | batch_nullifier_from_wire (const wire::BatchInsertionResultNullifier &w) |
| wire::SequentialInsertionResultPublicData | sequential_public_data_to_wire (const world_state::SequentialInsertionResult< crypto::merkle_tree::PublicDataLeafValue > &d) |
| world_state::SequentialInsertionResult< crypto::merkle_tree::PublicDataLeafValue > | sequential_public_data_from_wire (const wire::SequentialInsertionResultPublicData &w) |
| wire::SequentialInsertionResultNullifier | sequential_nullifier_to_wire (const world_state::SequentialInsertionResult< crypto::merkle_tree::NullifierLeafValue > &d) |
| world_state::SequentialInsertionResult< crypto::merkle_tree::NullifierLeafValue > | sequential_nullifier_from_wire (const wire::SequentialInsertionResultNullifier &w) |
| std::vector< wire::TreeStateReference > | state_reference_to_wire (const world_state::StateReference &d) |
| world_state::StateReference | state_reference_from_wire (const std::vector< wire::TreeStateReference > &w) |
| wire::DBStats | db_stats_to_wire (const bb::lmdblib::DBStats &d) |
| bb::lmdblib::DBStats | db_stats_from_wire (const wire::DBStats &w) |
| wire::TreeDBStats | tree_db_stats_to_wire (const bb::crypto::merkle_tree::TreeDBStats &d) |
| bb::crypto::merkle_tree::TreeDBStats | tree_db_stats_from_wire (const wire::TreeDBStats &w) |
| wire::TreeMeta | tree_meta_to_wire (const bb::crypto::merkle_tree::TreeMeta &d) |
| bb::crypto::merkle_tree::TreeMeta | tree_meta_from_wire (const wire::TreeMeta &w) |
| wire::WorldStateDBStats | world_state_db_stats_to_wire (const bb::world_state::WorldStateDBStats &d) |
| bb::world_state::WorldStateDBStats | world_state_db_stats_from_wire (const wire::WorldStateDBStats &w) |
| wire::WorldStateMeta | world_state_meta_to_wire (const bb::world_state::WorldStateMeta &d) |
| bb::world_state::WorldStateMeta | world_state_meta_from_wire (const wire::WorldStateMeta &w) |
| wire::WorldStateStatusSummary | world_state_status_summary_to_wire (const bb::world_state::WorldStateStatusSummary &d) |
| bb::world_state::WorldStateStatusSummary | world_state_status_summary_from_wire (const wire::WorldStateStatusSummary &w) |
| wire::WorldStateStatusFull | world_state_status_full_to_wire (const bb::world_state::WorldStateStatusFull &d) |
| bb::world_state::WorldStateStatusFull | world_state_status_full_from_wire (const wire::WorldStateStatusFull &w) |
|
inline |
Definition at line 302 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 288 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 273 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 259 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 36 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 29 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 384 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 379 of file wsdb_wire_convert.hpp.
| int bb::wsdb::execute_wsdb_server | ( | const std::string & | input_path, |
| const std::string & | data_dir, | ||
| const std::string & | tree_heights_json, | ||
| const std::string & | tree_prefill_json, | ||
| const std::string & | map_sizes_json, | ||
| uint32_t | threads, | ||
| uint32_t | initial_header_generator_point, | ||
| const std::string & | prefilled_public_data_json, | ||
| uint64_t | genesis_timestamp, | ||
| size_t | request_ring_size, | ||
| size_t | response_ring_size | ||
| ) |
Start the aztec-wsdb IPC server.
Creates a WorldState instance and runs the IPC server loop, dispatching incoming msgpack commands via the WsdbCommand NamedUnion.
Definition at line 137 of file wsdb_ipc_server.cpp.
Definition at line 24 of file wsdb_wire_convert.hpp.
Definition at line 17 of file wsdb_wire_convert.hpp.
Definition at line 87 of file wsdb_wire_convert.hpp.
Definition at line 77 of file wsdb_wire_convert.hpp.
| void bb::wsdb::handle_append_leaves | ( | WsdbRequest & | ctx, |
| wire::WsdbAppendLeaves && | cmd, | ||
| Responder< wire::WsdbAppendLeavesResponse > | respond | ||
| ) |
Definition at line 446 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_append_nullifier_leaves | ( | WsdbRequest & | ctx, |
| wire::WsdbAppendNullifierLeaves && | cmd, | ||
| Responder< wire::WsdbAppendNullifierLeavesResponse > | respond | ||
| ) |
Definition at line 482 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_append_public_data_leaves | ( | WsdbRequest & | ctx, |
| wire::WsdbAppendPublicDataLeaves && | cmd, | ||
| Responder< wire::WsdbAppendPublicDataLeavesResponse > | respond | ||
| ) |
Definition at line 467 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_batch_insert_nullifier | ( | WsdbRequest & | ctx, |
| wire::WsdbBatchInsertNullifier && | cmd, | ||
| Responder< wire::WsdbBatchInsertNullifierResponse > | respond | ||
| ) |
Definition at line 514 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_batch_insert_public_data | ( | WsdbRequest & | ctx, |
| wire::WsdbBatchInsertPublicData && | cmd, | ||
| Responder< wire::WsdbBatchInsertPublicDataResponse > | respond | ||
| ) |
Definition at line 497 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_commit | ( | WsdbRequest & | ctx, |
| wire::WsdbCommit && | , | ||
| Responder< wire::WsdbCommitResponse > | respond | ||
| ) |
Definition at line 578 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_commit_all_checkpoints | ( | WsdbRequest & | ctx, |
| wire::WsdbCommitAllCheckpoints && | cmd, | ||
| Responder< wire::WsdbCommitAllCheckpointsResponse > | respond | ||
| ) |
Definition at line 746 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_commit_checkpoint | ( | WsdbRequest & | ctx, |
| wire::WsdbCommitCheckpoint && | cmd, | ||
| Responder< wire::WsdbCommitCheckpointResponse > | respond | ||
| ) |
Definition at line 720 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_copy_stores | ( | WsdbRequest & | ctx, |
| wire::WsdbCopyStores && | cmd, | ||
| Responder< wire::WsdbCopyStoresResponse > | respond | ||
| ) |
Definition at line 776 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_create_checkpoint | ( | WsdbRequest & | ctx, |
| wire::WsdbCreateCheckpoint && | cmd, | ||
| Responder< wire::WsdbCreateCheckpointResponse > | respond | ||
| ) |
Definition at line 707 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_create_fork | ( | WsdbRequest & | ctx, |
| wire::WsdbCreateFork && | cmd, | ||
| Responder< wire::WsdbCreateForkResponse > | respond | ||
| ) |
Definition at line 633 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_delete_fork | ( | WsdbRequest & | ctx, |
| wire::WsdbDeleteFork && | cmd, | ||
| Responder< wire::WsdbDeleteForkResponse > | respond | ||
| ) |
Definition at line 644 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_finalize_blocks | ( | WsdbRequest & | ctx, |
| wire::WsdbFinalizeBlocks && | cmd, | ||
| Responder< wire::WsdbFinalizeBlocksResponse > | respond | ||
| ) |
Definition at line 657 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_leaf_indices | ( | WsdbRequest & | ctx, |
| wire::WsdbFindLeafIndices && | cmd, | ||
| Responder< wire::WsdbFindLeafIndicesResponse > | respond | ||
| ) |
Definition at line 244 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_low_leaf | ( | WsdbRequest & | ctx, |
| wire::WsdbFindLowLeaf && | cmd, | ||
| Responder< wire::WsdbFindLowLeafResponse > | respond | ||
| ) |
Definition at line 331 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_nullifier_leaf_indices | ( | WsdbRequest & | ctx, |
| wire::WsdbFindNullifierLeafIndices && | cmd, | ||
| Responder< wire::WsdbFindNullifierLeafIndicesResponse > | respond | ||
| ) |
Definition at line 306 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_nullifier_sibling_paths | ( | WsdbRequest & | ctx, |
| wire::WsdbFindNullifierSiblingPaths && | cmd, | ||
| Responder< wire::WsdbFindNullifierSiblingPathsResponse > | respond | ||
| ) |
Definition at line 415 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_public_data_leaf_indices | ( | WsdbRequest & | ctx, |
| wire::WsdbFindPublicDataLeafIndices && | cmd, | ||
| Responder< wire::WsdbFindPublicDataLeafIndicesResponse > | respond | ||
| ) |
Definition at line 280 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_public_data_sibling_paths | ( | WsdbRequest & | ctx, |
| wire::WsdbFindPublicDataSiblingPaths && | cmd, | ||
| Responder< wire::WsdbFindPublicDataSiblingPathsResponse > | respond | ||
| ) |
Definition at line 388 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_find_sibling_paths | ( | WsdbRequest & | ctx, |
| wire::WsdbFindSiblingPaths && | cmd, | ||
| Responder< wire::WsdbFindSiblingPathsResponse > | respond | ||
| ) |
Definition at line 349 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_block_numbers_for_leaf_indices | ( | WsdbRequest & | ctx, |
| wire::WsdbGetBlockNumbersForLeafIndices && | cmd, | ||
| Responder< wire::WsdbGetBlockNumbersForLeafIndicesResponse > | respond | ||
| ) |
Definition at line 213 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_initial_state_reference | ( | WsdbRequest & | ctx, |
| wire::WsdbGetInitialStateReference && | , | ||
| Responder< wire::WsdbGetInitialStateReferenceResponse > | respond | ||
| ) |
Definition at line 71 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_leaf_value | ( | WsdbRequest & | ctx, |
| wire::WsdbGetLeafValue && | cmd, | ||
| Responder< wire::WsdbGetLeafValueResponse > | respond | ||
| ) |
Definition at line 87 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_nullifier_leaf_preimage | ( | WsdbRequest & | ctx, |
| wire::WsdbGetNullifierLeafPreimage && | cmd, | ||
| Responder< wire::WsdbGetNullifierLeafPreimageResponse > | respond | ||
| ) |
Definition at line 176 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_nullifier_leaf_value | ( | WsdbRequest & | ctx, |
| wire::WsdbGetNullifierLeafValue && | cmd, | ||
| Responder< wire::WsdbGetNullifierLeafValueResponse > | respond | ||
| ) |
Definition at line 135 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_public_data_leaf_preimage | ( | WsdbRequest & | ctx, |
| wire::WsdbGetPublicDataLeafPreimage && | cmd, | ||
| Responder< wire::WsdbGetPublicDataLeafPreimageResponse > | respond | ||
| ) |
Definition at line 155 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_public_data_leaf_value | ( | WsdbRequest & | ctx, |
| wire::WsdbGetPublicDataLeafValue && | cmd, | ||
| Responder< wire::WsdbGetPublicDataLeafValueResponse > | respond | ||
| ) |
Definition at line 115 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_sibling_path | ( | WsdbRequest & | ctx, |
| wire::WsdbGetSiblingPath && | cmd, | ||
| Responder< wire::WsdbGetSiblingPathResponse > | respond | ||
| ) |
Definition at line 197 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_state_reference | ( | WsdbRequest & | ctx, |
| wire::WsdbGetStateReference && | cmd, | ||
| Responder< wire::WsdbGetStateReferenceResponse > | respond | ||
| ) |
Definition at line 57 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_status | ( | WsdbRequest & | ctx, |
| wire::WsdbGetStatus && | , | ||
| Responder< wire::WsdbGetStatusResponse > | respond | ||
| ) |
Definition at line 694 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_get_tree_info | ( | WsdbRequest & | ctx, |
| wire::WsdbGetTreeInfo && | cmd, | ||
| Responder< wire::WsdbGetTreeInfoResponse > | respond | ||
| ) |
Definition at line 37 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_remove_historical_blocks | ( | WsdbRequest & | ctx, |
| wire::WsdbRemoveHistoricalBlocks && | cmd, | ||
| Responder< wire::WsdbRemoveHistoricalBlocksResponse > | respond | ||
| ) |
Definition at line 679 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_revert_all_checkpoints | ( | WsdbRequest & | ctx, |
| wire::WsdbRevertAllCheckpoints && | cmd, | ||
| Responder< wire::WsdbRevertAllCheckpointsResponse > | respond | ||
| ) |
Definition at line 759 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_revert_checkpoint | ( | WsdbRequest & | ctx, |
| wire::WsdbRevertCheckpoint && | cmd, | ||
| Responder< wire::WsdbRevertCheckpointResponse > | respond | ||
| ) |
Definition at line 733 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_rollback | ( | WsdbRequest & | ctx, |
| wire::WsdbRollback && | , | ||
| Responder< wire::WsdbRollbackResponse > | respond | ||
| ) |
Definition at line 587 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_sequential_insert_nullifier | ( | WsdbRequest & | ctx, |
| wire::WsdbSequentialInsertNullifier && | cmd, | ||
| Responder< wire::WsdbSequentialInsertNullifierResponse > | respond | ||
| ) |
Definition at line 546 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_sequential_insert_public_data | ( | WsdbRequest & | ctx, |
| wire::WsdbSequentialInsertPublicData && | cmd, | ||
| Responder< wire::WsdbSequentialInsertPublicDataResponse > | respond | ||
| ) |
Definition at line 531 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_sync_block | ( | WsdbRequest & | ctx, |
| wire::WsdbSyncBlock && | cmd, | ||
| Responder< wire::WsdbSyncBlockResponse > | respond | ||
| ) |
Definition at line 599 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_unwind_blocks | ( | WsdbRequest & | ctx, |
| wire::WsdbUnwindBlocks && | cmd, | ||
| Responder< wire::WsdbUnwindBlocksResponse > | respond | ||
| ) |
Definition at line 668 of file wsdb_handlers.cpp.
| void bb::wsdb::handle_update_archive | ( | WsdbRequest & | ctx, |
| wire::WsdbUpdateArchive && | cmd, | ||
| Responder< wire::WsdbUpdateArchiveResponse > | respond | ||
| ) |
Definition at line 561 of file wsdb_handlers.cpp.
|
inline |
Definition at line 207 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 201 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 195 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 189 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 72 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 162 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 157 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 178 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 167 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 65 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 231 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 225 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 130 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 125 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 146 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 135 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 48 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 41 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 60 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 53 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 220 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 213 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 106 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 97 of file wsdb_wire_convert.hpp.
| void bb::wsdb::schedule_read | ( | WsdbRequest & | ctx, |
| uint64_t | fork, | ||
| bool | committed, | ||
| Responder< Resp > | respond, | ||
| Fn && | logic | ||
| ) |
Run a read on fork and respond. committed true => independent snapshot, never ordered; false => waits behind an in-flight write on the fork.
Definition at line 44 of file wsdb_schedule.hpp.
| void bb::wsdb::schedule_write | ( | WsdbRequest & | ctx, |
| uint64_t | fork, | ||
| Responder< Resp > | respond, | ||
| Fn && | logic | ||
| ) |
Run a write on fork (exclusive on that fork) and respond.
Definition at line 51 of file wsdb_schedule.hpp.
|
inline |
Definition at line 346 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 337 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 327 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 317 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 368 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 357 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 400 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 389 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 120 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 115 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 425 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 411 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 249 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 238 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 448 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 439 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 466 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 457 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 497 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 490 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 484 of file wsdb_wire_convert.hpp.
|
inline |
Definition at line 475 of file wsdb_wire_convert.hpp.