|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <api_chonk.hpp>
Public Member Functions | |
| void | prove (const Flags &flags, const std::filesystem::path &input_path, const std::filesystem::path &output_dir) |
| bool | verify (const Flags &flags, const std::filesystem::path &public_inputs_path, const std::filesystem::path &proof_path, const std::filesystem::path &vk_path) override |
| bool | prove_and_verify (const std::filesystem::path &input_path) |
| void | gates (const Flags &flags, const std::filesystem::path &bytecode_path) override |
| void | write_solidity_verifier (const Flags &flags, const std::filesystem::path &output_path, const std::filesystem::path &vk_path) override |
| void | write_vk (const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &output_path) override |
| bool | check_precomputed_vks (const Flags &flags, const std::filesystem::path &input_path) |
| bool | check (const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path) override |
Definition at line 10 of file api_chonk.hpp.
|
overridevirtual |
Implements bb::API.
Definition at line 202 of file api_chonk.cpp.
| bool bb::ChonkAPI::check_precomputed_vks | ( | const Flags & | flags, |
| const std::filesystem::path & | input_path | ||
| ) |
Definition at line 148 of file api_chonk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 134 of file api_chonk.cpp.
| void bb::ChonkAPI::prove | ( | const Flags & | flags, |
| const std::filesystem::path & | input_path, | ||
| const std::filesystem::path & | output_dir | ||
| ) |
Definition at line 58 of file api_chonk.cpp.
| bool bb::ChonkAPI::prove_and_verify | ( | const std::filesystem::path & | input_path | ) |
Definition at line 121 of file api_chonk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 105 of file api_chonk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 140 of file api_chonk.cpp.
|
overridevirtual |
Implements bb::API.
Definition at line 183 of file api_chonk.cpp.