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

Compress a Chonk proof to a compact byte representation. More...

#include <bbapi_chonk.hpp>

Classes

struct  Response
 

Public Member Functions

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

Public Attributes

ChonkProof proof
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "ChonkCompressProof"
 

Detailed Description

Compress a Chonk proof to a compact byte representation.

Uses point compression and uniform 32-byte encoding to reduce proof size (~1.72x).

Definition at line 269 of file bbapi_chonk.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 295 of file bbapi_chonk.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::ChonkCompressProof::MSGPACK_FIELDS ( proof  )

◆ operator==()

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

Member Data Documentation

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 270 of file bbapi_chonk.hpp.

◆ proof

ChonkProof bb::bbapi::ChonkCompressProof::proof

Definition at line 279 of file bbapi_chonk.hpp.


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