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

Serializable structure for proof JSON output (msgpack-compatible) More...

#include <json_output.hpp>

Public Member Functions

 MSGPACK_FIELDS (proof, vk_hash, bb_version, scheme)
 

Static Public Member Functions

template<typename T >
static std::string build (const std::vector< T > &fields, const std::string &vk_hash, const std::string &scheme)
 
static std::vector< uint256_tparse (const nlohmann::json &json)
 

Public Attributes

std::vector< std::string > proof
 
std::string vk_hash
 
std::string bb_version
 
std::string scheme
 

Detailed Description

Serializable structure for proof JSON output (msgpack-compatible)

Definition at line 141 of file json_output.hpp.

Member Function Documentation

◆ build()

template<typename T >
static std::string bb::ProofJson::build ( const std::vector< T > &  fields,
const std::string &  vk_hash,
const std::string &  scheme 
)
inlinestatic

Definition at line 150 of file json_output.hpp.

◆ MSGPACK_FIELDS()

bb::ProofJson::MSGPACK_FIELDS ( proof  ,
vk_hash  ,
bb_version  ,
scheme   
)

◆ parse()

static std::vector< uint256_t > bb::ProofJson::parse ( const nlohmann::json &  json)
inlinestatic

Definition at line 173 of file json_output.hpp.

Member Data Documentation

◆ bb_version

std::string bb::ProofJson::bb_version

Definition at line 144 of file json_output.hpp.

◆ proof

std::vector<std::string> bb::ProofJson::proof

Definition at line 142 of file json_output.hpp.

◆ scheme

std::string bb::ProofJson::scheme

Definition at line 145 of file json_output.hpp.

◆ vk_hash

std::string bb::ProofJson::vk_hash

Definition at line 143 of file json_output.hpp.


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