46 void prove(
const Flags& flags,
const std::filesystem::path& input_path,
const std::filesystem::path& output_dir);
56 const std::filesystem::path& public_inputs_path,
57 const std::filesystem::path& proof_path,
58 const std::filesystem::path& vk_path)
override;
68 void gates(
const Flags& flags,
const std::filesystem::path& bytecode_path)
override;
71 const std::filesystem::path& output_path,
72 const std::filesystem::path& vk_path)
override;
86 const std::filesystem::path& bytecode_path,
87 const std::filesystem::path& output_path)
override;
101 const std::filesystem::path& bytecode_path,
102 const std::filesystem::path& witness_path)
override;
105void chonk_gate_count(
const std::string& bytecode_path,
bool include_gates_per_opcode);
107std::vector<uint8_t>
decompress(
const void* bytes,
size_t size);
CLI API for Chonk (Aztec's client-side proving).
bool prove_and_verify(const std::filesystem::path &input_path)
Test/debug function: prove and verify in one call (bypasses serialization).
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
Verify a Chonk proof against a verification key.
void write_vk(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &output_path) override
Compute and write a verification key.
void prove(const Flags &flags, const std::filesystem::path &input_path, const std::filesystem::path &output_dir)
Main production entry point: generate a Chonk proof from private execution steps.
bool check(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path) override
void gates(const Flags &flags, const std::filesystem::path &bytecode_path) override
Output gate count statistics for a circuit.
bool check_precomputed_vks(const Flags &flags, const std::filesystem::path &input_path)
Validate that precomputed VKs in ivc-inputs.msgpack match computed VKs.
void write_solidity_verifier(const Flags &flags, const std::filesystem::path &output_path, const std::filesystem::path &vk_path) override
Entry point for Barretenberg command-line interface.
void chonk_gate_count(const std::string &bytecode_path, bool include_gates_per_opcode)
std::vector< uint8_t > decompress(const void *bytes, size_t size)
Decompress bytecode and witness fields from ivc-inputs.msgpack.