Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::bbapi::ChonkComputeVk Struct Reference

Compute MegaHonk verification key for a circuit to be accumulated in Chonk. More...

#include <bbapi_chonk.hpp>

Classes

struct  Response
 Contains the computed verification key in multiple formats. More...
 

Public Member Functions

Response execute (const BBApiRequest &request={}) &&
 
 MSGPACK_FIELDS (circuit)
 
bool operator== (const ChonkComputeVk &) const =default
 

Public Attributes

CircuitInputNoVK circuit
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "ChonkComputeVk"
 

Detailed Description

Compute MegaHonk verification key for a circuit to be accumulated in Chonk.

This unified command replaces the former ChonkComputeStandaloneVk and ChonkComputeIvcVk. Both standalone circuits (to be accumulated) and the IVC hiding kernel use the same MegaVerificationKey, so a single implementation suffices for all Chonk VK computation needs.

Definition at line 155 of file bbapi_chonk.hpp.

Member Function Documentation

◆ execute()

ChonkComputeVk::Response bb::bbapi::ChonkComputeVk::execute ( const BBApiRequest request = {}) &&

Definition at line 154 of file bbapi_chonk.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::ChonkComputeVk::MSGPACK_FIELDS ( circuit  )

◆ operator==()

bool bb::bbapi::ChonkComputeVk::operator== ( const ChonkComputeVk ) const
default

Member Data Documentation

◆ circuit

CircuitInputNoVK bb::bbapi::ChonkComputeVk::circuit

Definition at line 173 of file bbapi_chonk.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char bb::bbapi::ChonkComputeVk::MSGPACK_SCHEMA_NAME[] = "ChonkComputeVk"
staticconstexpr

Definition at line 156 of file bbapi_chonk.hpp.


The documentation for this struct was generated from the following files: