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:121
std::string get_msgpack_schema_as_json()
NamedUnion< CircuitProve, CircuitComputeVk, CircuitStats, CircuitVerify, ChonkComputeStandaloneVk, ChonkComputeIvcVk, ChonkStart, ChonkLoad, ChonkAccumulate, ChonkProve, ChonkVerify, VkAsFields, MegaVkAsFields, CircuitWriteSolidityVerifier, ChonkCheckPrecomputedVk, ChonkStats, Poseidon2Hash, Poseidon2Permutation, Poseidon2HashAccumulate, PedersenCommit, PedersenHash, PedersenHashBuffer, Blake2s, Blake2sToField, AesEncrypt, AesDecrypt, GrumpkinMul, GrumpkinAdd, GrumpkinBatchMul, GrumpkinGetRandomFr, GrumpkinReduce512, Secp256k1Mul, Secp256k1GetRandomFr, Secp256k1Reduce512, Bn254FrSqrt, Bn254FqSqrt, Bn254G1Mul, Bn254G2Mul, Bn254G1IsOnCurve, Bn254G1FromCompressed, SchnorrComputePublicKey, SchnorrConstructSignature, SchnorrVerifySignature, EcdsaSecp256k1ComputePublicKey, EcdsaSecp256r1ComputePublicKey, EcdsaSecp256k1ConstructSignature, EcdsaSecp256r1ConstructSignature, EcdsaSecp256k1RecoverPublicKey, EcdsaSecp256r1RecoverPublicKey, EcdsaSecp256k1VerifySignature, EcdsaSecp256r1VerifySignature, SrsInitSrs, SrsInitGrumpkinSrs, Shutdown > Command
std::string msgpack_schema_to_string(const auto &obj)
Print's an object's derived msgpack schema as a string.