121 if (
type ==
"keccak") {
124 if (
type ==
"starknet") {
135 if (policy ==
"check") {
138 if (policy ==
"recompute") {
141 if (policy ==
"rewrite") {
176#define BBAPI_ERROR(request, msg) \
178 (request).error_message = (msg); \
OracleHashType
Convert oracle hash type string to enum for internal use.
VkPolicy
Policy for handling verification keys during IVC accumulation.
VkPolicy parse_vk_policy(const std::string &policy)
Convert VK policy string to enum for internal use.
OracleHashType parse_oracle_hash_type(const std::string &type)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
std::string loaded_circuit_name
std::string error_message
std::shared_ptr< IVCBase > ivc_in_progress
std::vector< uint8_t > loaded_circuit_vk
std::optional< acir_format::AcirFormat > loaded_circuit_constraints
Error response returned when a command fails.
bool operator==(const ErrorResponse &) const =default
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool ipa_accumulation
Optional flag to indicate if the proof should be generated with IPA accumulation (i....
bool operator==(const ProofSystemSettings &other) const =default
MSGPACK_FIELDS(ipa_accumulation, oracle_hash_type, disable_zk, optimized_solidity_verifier)
bool optimized_solidity_verifier
std::string oracle_hash_type
The oracle hash type to be used for the proof.
bool disable_zk
Flag to disable blinding of the proof. Useful for cases that don't require privacy,...
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Response &) const =default
void msgpack(auto &&pack_fn)
void msgpack(auto &&pack_fn)
static constexpr const char MSGPACK_SCHEMA_NAME[]
bool operator==(const Shutdown &) const =default
Response execute(const BBApiRequest &) &&