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={}) &&
 
 SERIALIZATION_FIELDS (circuit, kind)
 
bool operator== (const ChonkComputeVk &) const =default
 

Public Attributes

CircuitInputNoVK circuit
 
CircuitKind kind = CircuitKind::None
 

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.

Computes a VK for a circuit used by Chonk. The command keeps the existing wire schema; Chonk owns the mapping from circuit role to concrete VK type.

Definition at line 202 of file bbapi_chonk.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 311 of file bbapi_chonk.cpp.

◆ operator==()

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

◆ SERIALIZATION_FIELDS()

bb::bbapi::ChonkComputeVk::SERIALIZATION_FIELDS ( circuit  ,
kind   
)

Member Data Documentation

◆ circuit

CircuitInputNoVK bb::bbapi::ChonkComputeVk::circuit

Definition at line 220 of file bbapi_chonk.hpp.

◆ kind

CircuitKind bb::bbapi::ChonkComputeVk::kind = CircuitKind::None

Definition at line 222 of file bbapi_chonk.hpp.

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 203 of file bbapi_chonk.hpp.


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