31 <<
" verbose: " << flags.
verbose <<
"\n"
32 <<
" debug: " << flags.
debug <<
"\n"
34 <<
" crs_path: " << flags.
crs_path <<
"\n"
36 <<
" scheme: " << flags.
scheme <<
"\n"
40 <<
" write_vk " << flags.
write_vk <<
"\n"
50 const std::filesystem::path& bytecode_path,
51 const std::filesystem::path& witness_path) = 0;
54 const std::filesystem::path& public_inputs_path,
55 const std::filesystem::path& proof_path,
56 const std::filesystem::path& vk_path) = 0;
59 const std::filesystem::path& bytecode_path,
60 const std::filesystem::path& output_path) = 0;
62 virtual void gates(
const Flags& flags,
const std::filesystem::path& bytecode_path) = 0;
65 const std::filesystem::path& output_path,
66 const std::filesystem::path& vk_path) = 0;
virtual void write_solidity_verifier(const Flags &flags, const std::filesystem::path &output_path, const std::filesystem::path &vk_path)=0
virtual void gates(const Flags &flags, const std::filesystem::path &bytecode_path)=0
virtual bool verify(const Flags &flags, const std::filesystem::path &public_inputs_path, const std::filesystem::path &proof_path, const std::filesystem::path &vk_path)=0
virtual bool check(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path)=0
virtual void write_vk(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &output_path)=0
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
friend std::ostream & operator<<(std::ostream &os, const Flags &flags)
bool include_gates_per_opcode
std::string verifier_type
std::filesystem::path crs_path
std::string oracle_hash_type
std::string output_format