Definition at line 17 of file dump_proof_cmd.cpp.
◆ base_class
◆ dump_proof_cmd()
zethtool::commands::dump_proof_cmd::dump_proof_cmd |
( |
const std::string & |
subcommand_name, |
|
|
const std::string & |
description |
|
) |
| |
|
inline |
◆ execute_generic()
template<typename ppT , typename snarkT >
int zethtool::commands::dump_proof_cmd::execute_generic |
( |
const global_options & |
| ) |
|
|
inline |
Definition at line 29 of file dump_proof_cmd.cpp.
31 ppT::init_public_params();
32 libff::inhibit_profiling_info =
true;
33 libff::inhibit_profiling_counters =
true;
35 typename snarkT::proof proof;
38 snarkT::proof_read_bytes(proof, in_s);
41 snarkT::proof_write_json(proof, std::cout);
◆ initialize_suboptions()
void zethtool::commands::dump_proof_cmd::initialize_suboptions |
( |
boost::program_options::options_description & |
options, |
|
|
boost::program_options::options_description & |
all_options, |
|
|
boost::program_options::positional_options_description & |
pos |
|
) |
| |
|
inlineoverrideprotectedvirtual |
Instantiation can now set up the boost program_options structures.
Implements libtool::subcommand< GlobalOptionsT >.
Definition at line 47 of file dump_proof_cmd.cpp.
54 all_options.add(options).add_options()(
55 "proof_file", po::value<std::string>(),
"(Output) Proof file");
56 pos.add(
"proof_file", 1);
◆ parse_suboptions()
void zethtool::commands::dump_proof_cmd::parse_suboptions |
( |
const boost::program_options::variables_map & |
vm | ) |
|
|
inlineoverrideprotectedvirtual |
◆ subcommand_usage()
void zethtool::commands::dump_proof_cmd::subcommand_usage |
( |
const char * |
argv0 | ) |
|
|
inlineoverrideprotectedvirtual |
◆ proof_file
std::string zethtool::commands::dump_proof_cmd::proof_file |
|
protected |
The documentation for this class was generated from the following file: