Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bbapi_execute.cpp
Go to the documentation of this file.
1#include "bbapi_execute.hpp"
2
3namespace bb::bbapi {
4namespace { // anonymous
5struct Api {
8 MSGPACK_FIELDS(commands, responses);
9};
10} // namespace
12{
13 return msgpack_schema_to_string(Api{});
14}
15} // namespace bb::bbapi
Command commands
bb::bbapi::CommandResponse responses
A wrapper around std::variant that provides msgpack serialization based on type names.
#define MSGPACK_FIELDS(...)
Definition msgpack.hpp:118
std::string get_msgpack_schema_as_json()
NamedUnion< CircuitProve, CircuitComputeVk, CircuitStats, CircuitVerify, ClientIvcComputeStandaloneVk, ClientIvcComputeIvcVk, ClientIvcStart, ClientIvcLoad, ClientIvcAccumulate, ClientIvcProve, ClientIvcVerify, VkAsFields, CircuitWriteSolidityVerifier, ClientIvcCheckPrecomputedVk, ClientIvcStats > Command
std::string msgpack_schema_to_string(const auto &obj)
Print's an object's derived msgpack schema as a string.