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

Verify a Chonk proof with its verification key. More...

#include <bbapi_chonk.hpp>

Classes

struct  Response
 Contains the verification result. More...
 

Public Member Functions

Response execute (const BBApiRequest &request={}) &&
 
 MSGPACK_FIELDS (proof, vk)
 
bool operator== (const ChonkVerify &) const =default
 

Public Attributes

Chonk::Proof proof
 The Chonk proof to verify.
 
std::vector< uint8_t > vk
 The verification key.
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "ChonkVerify"
 

Detailed Description

Verify a Chonk proof with its verification key.

Definition at line 122 of file bbapi_chonk.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 131 of file bbapi_chonk.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::ChonkVerify::MSGPACK_FIELDS ( proof  ,
vk   
)

◆ operator==()

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

Member Data Documentation

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 123 of file bbapi_chonk.hpp.

◆ proof

Chonk::Proof bb::bbapi::ChonkVerify::proof

The Chonk proof to verify.

Definition at line 139 of file bbapi_chonk.hpp.

◆ vk

std::vector<uint8_t> bb::bbapi::ChonkVerify::vk

The verification key.

Definition at line 141 of file bbapi_chonk.hpp.


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