Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Classes | Typedefs | Functions
pot_process.cpp File Reference
#include "libzeth/mpc/groth16/powersoftau_utils.hpp"
#include "zeth_config.h"
#include <boost/program_options.hpp>
#include <fstream>
Include dependency graph for pot_process.cpp:

Go to the source code of this file.

Classes

class  cli_options
 

Typedefs

using pp = defaults::pp
 

Functions

int main (int argc, char **argv)
 

Typedef Documentation

◆ pp

using pp = defaults::pp

Definition at line 15 of file pot_process.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 204 of file pot_process.cpp.

205 {
206  cli_options options;
207 
208  // Parse options
209  try {
210  options.parse(argc, argv);
211  } catch (po::error &error) {
212  std::cerr << " ERROR: " << error.what() << std::endl;
213  std::cout << std::endl;
214  options.usage();
215  return 1;
216  }
217 
218  // Execute and handle errors
219  try {
220  return powersoftau_main(options);
221  } catch (std::invalid_argument &error) {
222  std::cerr << " ERROR: " << error.what() << std::endl;
223  std::cout << std::endl;
224  return 1;
225  }
226 }
Here is the call graph for this function:
cli_options
Definition: pot_process.cpp:33
cli_options::usage
void usage() const
Definition: pot_process.cpp:80
cli_options::parse
void parse(int argc, char **argv)
Definition: pot_process.cpp:88