Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
acir_format_getters.cpp
Go to the documentation of this file.
5
6namespace bb {
7
8acir_format::WitnessVector get_witness(std::string const& witness_path)
9{
10 auto witness_data = get_bytecode(witness_path);
12}
13
14acir_format::AcirFormat get_constraint_system(std::string const& bytecode_path)
15{
16 auto bytecode = get_bytecode(bytecode_path);
18}
19
20acir_format::WitnessVectorStack get_witness_stack(std::string const& witness_path)
21{
22 auto witness_data = get_bytecode(witness_path);
24}
25
26std::vector<acir_format::AcirFormat> get_constraint_systems(std::string const& bytecode_path)
27{
28 auto bytecode = get_bytecode(bytecode_path);
30}
31
32} // namespace bb
std::vector< uint8_t > get_bytecode(const std::string &bytecodePath)
WitnessVector witness_buf_to_witness_data(std::vector< uint8_t > &&buf)
Converts from the ACIR-native WitnessStack format to Barretenberg's internal WitnessVector format.
std::vector< std::pair< uint32_t, WitnessVector > > WitnessVectorStack
WitnessVectorStack witness_buf_to_witness_stack(std::vector< uint8_t > &&buf)
std::vector< AcirFormat > program_buf_to_acir_format(std::vector< uint8_t > &&buf)
AcirFormat circuit_buf_to_acir_format(std::vector< uint8_t > &&buf)
bb::SlabVector< bb::fr > WitnessVector
Entry point for Barretenberg command-line interface.
acir_format::WitnessVector get_witness(std::string const &witness_path)
acir_format::AcirFormat get_constraint_system(std::string const &bytecode_path)
acir_format::WitnessVectorStack get_witness_stack(std::string const &witness_path)
std::vector< acir_format::AcirFormat > get_constraint_systems(std::string const &bytecode_path)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13