Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
mpc_tools
mpc_phase2
cli
mpc_subcommand.hpp
Go to the documentation of this file.
1
// Copyright (c) 2015-2022 Clearmatics Technologies Ltd
2
//
3
// SPDX-License-Identifier: LGPL-3.0+
4
5
#ifndef __ZETH_MPC_TOOLS_MPC_PHASE2_MPC_SUBCOMMAND_HPP__
6
#define __ZETH_MPC_TOOLS_MPC_PHASE2_MPC_SUBCOMMAND_HPP__
7
8
#include "
libtool/subcommand.hpp
"
9
#include "zeth_config.h"
10
11
using
Field
=
libzeth::defaults::Field
;
12
13
using
ProtoboardInitFn
= std::function<void(libsnark::protoboard<Field> &)>;
14
15
class
global_options
16
{
17
public
:
18
ProtoboardInitFn
protoboard_init
;
19
bool
verbose
;
20
};
21
22
using
mpc_subcommand
=
libtool::subcommand<global_options>
;
23
24
#endif // __ZETH_MPC_TOOLS_MPC_PHASE2_MPC_SUBCOMMAND_HPP__
Field
libzeth::defaults::Field Field
Definition:
mpc_subcommand.hpp:11
global_options::verbose
bool verbose
Definition:
mpc_subcommand.hpp:19
global_options
Definition:
mpc_subcommand.hpp:15
global_options::protoboard_init
ProtoboardInitFn protoboard_init
Definition:
mpc_subcommand.hpp:18
subcommand.hpp
libtool::subcommand
Class representing a tool subcommand.
Definition:
subcommand.hpp:18
ProtoboardInitFn
std::function< void(libsnark::protoboard< Field > &)> ProtoboardInitFn
Definition:
mpc_subcommand.hpp:13
Generated on Mon Nov 28 2022 10:29:03 for Zeth - Zerocash on Ethereum by
1.8.17