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

#include <bbapi_shared.hpp>

Public Member Functions

 MSGPACK_FIELDS (ipa_accumulation, oracle_hash_type, disable_zk)
 
bool operator== (const ProofSystemSettings &other) const =default
 

Public Attributes

bool ipa_accumulation = false
 Optional flag to indicate if the proof should be generated with IPA accumulation (i.e. for rollup circuits).
 
std::string oracle_hash_type = "poseidon2"
 The oracle hash type to be used for the proof.
 
bool disable_zk = false
 Flag to disable blinding of the proof. Useful for cases that don't require privacy, such as when all inputs are public or zk-SNARK proofs themselves.
 

Detailed Description

Definition at line 74 of file bbapi_shared.hpp.

Member Function Documentation

◆ MSGPACK_FIELDS()

bb::bbapi::ProofSystemSettings::MSGPACK_FIELDS ( ipa_accumulation  ,
oracle_hash_type  ,
disable_zk   
)

◆ operator==()

bool bb::bbapi::ProofSystemSettings::operator== ( const ProofSystemSettings other) const
default

Member Data Documentation

◆ disable_zk

bool bb::bbapi::ProofSystemSettings::disable_zk = false

Flag to disable blinding of the proof. Useful for cases that don't require privacy, such as when all inputs are public or zk-SNARK proofs themselves.

Definition at line 93 of file bbapi_shared.hpp.

◆ ipa_accumulation

bool bb::bbapi::ProofSystemSettings::ipa_accumulation = false

Optional flag to indicate if the proof should be generated with IPA accumulation (i.e. for rollup circuits).

Definition at line 79 of file bbapi_shared.hpp.

◆ oracle_hash_type

std::string bb::bbapi::ProofSystemSettings::oracle_hash_type = "poseidon2"

The oracle hash type to be used for the proof.

This is used to determine the hash function used in the proof generation. Valid values are "poseidon2", "keccak", and "starknet".

Definition at line 87 of file bbapi_shared.hpp.


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