Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Functions
mpc_common.cpp File Reference
#include "mpc_common.hpp"
#include "libtool/run.hpp"
#include <iostream>
Include dependency graph for mpc_common.cpp:

Go to the source code of this file.

Functions

int mpc_main (const std::map< std::string, mpc_subcommand * > &subcommands, const ProtoboardInitFn &pb_init, int argc, char **argv)
 Main entry point into the mpc command for a given circuit. More...
 

Function Documentation

◆ mpc_main()

int mpc_main ( const std::map< std::string, mpc_subcommand * > &  subcommands,
const ProtoboardInitFn pb_init,
int  argc,
char **  argv 
)

Main entry point into the mpc command for a given circuit.

Definition at line 43 of file mpc_common.cpp.

48 {
49  libzeth::defaults::pp::init_public_params();
50 
51  global_options options{pb_init, false};
52  mpc_command cmd;
53  return libtool::run_command(cmd, options, subcommands, argc, argv);
54 }
Here is the call graph for this function:
Here is the caller graph for this function:
global_options
Definition: mpc_subcommand.hpp:15
libtool::run_command
int run_command(command< GlobalOptionsT > &command, GlobalOptionsT &options, const std::map< std::string, subcommand< GlobalOptionsT > * > &subcommands, int argc, char **argv)