|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Auto-generated IPC client. More...
#include <cdb_ipc_client_generated.hpp>
Public Member Functions | |
| CdbIpcClient (const std::string &socket_path) | |
| ~CdbIpcClient () | |
| CdbIpcClient (const CdbIpcClient &)=delete | |
| CdbIpcClient & | operator= (const CdbIpcClient &)=delete |
| CdbGetContractInstance::Response | get_contract_instance (CdbGetContractInstance cmd) const |
| CdbGetContractClass::Response | get_contract_class (CdbGetContractClass cmd) const |
| CdbGetBytecodeCommitment::Response | get_bytecode_commitment (CdbGetBytecodeCommitment cmd) |
| CdbGetDebugFunctionName::Response | get_debug_function_name (CdbGetDebugFunctionName cmd) const |
| void | add_contracts (CdbAddContracts cmd) |
| void | create_checkpoint (CdbCreateCheckpoint cmd) |
| void | commit_checkpoint (CdbCommitCheckpoint cmd) |
| void | revert_checkpoint (CdbRevertCheckpoint cmd) |
| void | add_contract_class (CdbAddContractClass cmd) |
| void | add_contract_instance (CdbAddContractInstance cmd) |
| void | register_function_signatures (CdbRegisterFunctionSignatures cmd) |
| CdbGetContractClassIds::Response | get_contract_class_ids () const |
| void | shutdown () |
Private Member Functions | |
| template<typename Cmd > | |
| Cmd::Response | send (Cmd &&cmd) const |
Private Attributes | |
| std::unique_ptr< ipc::IpcClient > | client_ |
Auto-generated IPC client.
Each method sends a msgpack-serialized command to the server over UDS and returns the typed response. All methods block until the response arrives.
Definition at line 19 of file cdb_ipc_client_generated.hpp.
|
explicit |
Definition at line 13 of file cdb_ipc_client_generated.cpp.
| bb::cdb::CdbIpcClient::~CdbIpcClient | ( | ) |
Definition at line 21 of file cdb_ipc_client_generated.cpp.
|
delete |
| void bb::cdb::CdbIpcClient::add_contract_class | ( | CdbAddContractClass | cmd | ) |
Definition at line 114 of file cdb_ipc_client_generated.cpp.
| void bb::cdb::CdbIpcClient::add_contract_instance | ( | CdbAddContractInstance | cmd | ) |
Definition at line 119 of file cdb_ipc_client_generated.cpp.
| void bb::cdb::CdbIpcClient::add_contracts | ( | CdbAddContracts | cmd | ) |
Definition at line 94 of file cdb_ipc_client_generated.cpp.
| void bb::cdb::CdbIpcClient::commit_checkpoint | ( | CdbCommitCheckpoint | cmd | ) |
Definition at line 104 of file cdb_ipc_client_generated.cpp.
| void bb::cdb::CdbIpcClient::create_checkpoint | ( | CdbCreateCheckpoint | cmd | ) |
Definition at line 99 of file cdb_ipc_client_generated.cpp.
| CdbGetBytecodeCommitment::Response bb::cdb::CdbIpcClient::get_bytecode_commitment | ( | CdbGetBytecodeCommitment | cmd | ) |
Definition at line 84 of file cdb_ipc_client_generated.cpp.
| CdbGetContractClass::Response bb::cdb::CdbIpcClient::get_contract_class | ( | CdbGetContractClass | cmd | ) | const |
Definition at line 79 of file cdb_ipc_client_generated.cpp.
| CdbGetContractClassIds::Response bb::cdb::CdbIpcClient::get_contract_class_ids | ( | ) | const |
Definition at line 129 of file cdb_ipc_client_generated.cpp.
| CdbGetContractInstance::Response bb::cdb::CdbIpcClient::get_contract_instance | ( | CdbGetContractInstance | cmd | ) | const |
Definition at line 74 of file cdb_ipc_client_generated.cpp.
| CdbGetDebugFunctionName::Response bb::cdb::CdbIpcClient::get_debug_function_name | ( | CdbGetDebugFunctionName | cmd | ) | const |
Definition at line 89 of file cdb_ipc_client_generated.cpp.
|
delete |
| void bb::cdb::CdbIpcClient::register_function_signatures | ( | CdbRegisterFunctionSignatures | cmd | ) |
Definition at line 124 of file cdb_ipc_client_generated.cpp.
| void bb::cdb::CdbIpcClient::revert_checkpoint | ( | CdbRevertCheckpoint | cmd | ) |
Definition at line 109 of file cdb_ipc_client_generated.cpp.
|
private |
Definition at line 28 of file cdb_ipc_client_generated.cpp.
| void bb::cdb::CdbIpcClient::shutdown | ( | ) |
Definition at line 134 of file cdb_ipc_client_generated.cpp.
|
mutableprivate |
Definition at line 44 of file cdb_ipc_client_generated.hpp.