Definition at line 18 of file joinsplit_circuit_cmd.cpp.
◆ base_class
◆ joinsplit_circuit_cmd()
zethtool::commands::joinsplit_circuit_cmd::joinsplit_circuit_cmd |
( |
const std::string & |
subcommand_name, |
|
|
const std::string & |
description |
|
) |
| |
|
inline |
◆ execute_generic()
template<typename ppT , typename snarkT >
int zethtool::commands::joinsplit_circuit_cmd::execute_generic |
( |
const global_options & |
| ) |
|
|
inline |
Definition at line 30 of file joinsplit_circuit_cmd.cpp.
32 using Field = libff::Fr<ppT>;
35 ppT::init_public_params();
36 libff::inhibit_profiling_info =
true;
37 libff::inhibit_profiling_counters =
true;
40 const libsnark::r1cs_constraint_system<Field> &r1cs =
43 std::cout <<
"r1cs: num_variables: " << r1cs.num_variables()
44 <<
", num_constraints: " << r1cs.num_constraints() <<
"\n";
47 std::cout <<
"writing r1cs to '" <<
r1cs_file <<
"'";
◆ initialize_suboptions()
void zethtool::commands::joinsplit_circuit_cmd::initialize_suboptions |
( |
boost::program_options::options_description & |
options, |
|
|
boost::program_options::options_description & |
all_options, |
|
|
boost::program_options::positional_options_description & |
pos |
|
) |
| |
|
inlineoverrideprotectedvirtual |
◆ parse_suboptions()
void zethtool::commands::joinsplit_circuit_cmd::parse_suboptions |
( |
const boost::program_options::variables_map & |
vm | ) |
|
|
inlineoverrideprotectedvirtual |
◆ subcommand_usage()
void zethtool::commands::joinsplit_circuit_cmd::subcommand_usage |
( |
const char * |
argv0 | ) |
|
|
inlineoverrideprotectedvirtual |
◆ r1cs_file
std::string zethtool::commands::joinsplit_circuit_cmd::r1cs_file |
|
protected |
The documentation for this class was generated from the following file: