Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
acir_format.hpp File Reference

Go to the source code of this file.

Classes

struct  acir_format::AcirFormatOriginalOpcodeIndices
 Indices of the original opcode that originated each constraint in AcirFormat. More...
 
struct  acir_format::AcirFormat
 Barretenberg's representation of ACIR constraints. More...
 
struct  acir_format::AcirProgram
 Struct containing both the constraints to be added to the circuit and the witness vector. More...
 
struct  acir_format::ProgramMetadata
 Metadata required to create a circuit. More...
 

Namespaces

namespace  acir_format
 

Typedefs

using acir_format::WitnessVector = std::vector< bb::fr >
 

Functions

template<typename Builder >
Builder acir_format::create_circuit (AcirProgram &program, const ProgramMetadata &metadata=ProgramMetadata{})
 Create a circuit out of an ACIR program and metadata.
 
template<typename Builder >
void acir_format::build_constraints (Builder &builder, AcirFormat &constraints, const ProgramMetadata &metadata)
 Add to the builder the constraints contained in an AcirFormat instance.