Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <libsnark/gadgetlib2/constraint.hpp>
#include <libsnark/gadgetlib2/pp.hpp>
#include <libsnark/gadgetlib2/variable.hpp>
#include <string>
Go to the source code of this file.
Classes | |
class | gadgetlib2::Protoboard |
class | gadgetlib2::ProtoboardParams |
Namespaces | |
gadgetlib2 | |
Macros | |
#define | ASSERT_CONSTRAINTS_SATISFIED(pb) ASSERT_TRUE(pb->isSatisfied(PrintOptions::DBG_PRINT_IF_NOT_SATISFIED)) |
#define | ASSERT_CONSTRAINTS_NOT_SATISFIED(pb) ASSERT_FALSE(pb->isSatisfied(PrintOptions::NO_DBG_PRINT)) |
Typedefs | |
typedef ::std::shared_ptr< const ProtoboardParams > | gadgetlib2::ParamsCPtr |
Definition of Protoboard, a "memory manager" for building arithmetic constraints
Definition in file protoboard.hpp.
#define ASSERT_CONSTRAINTS_NOT_SATISFIED | ( | pb | ) | ASSERT_FALSE(pb->isSatisfied(PrintOptions::NO_DBG_PRINT)) |
Definition at line 22 of file protoboard.hpp.
#define ASSERT_CONSTRAINTS_SATISFIED | ( | pb | ) | ASSERT_TRUE(pb->isSatisfied(PrintOptions::DBG_PRINT_IF_NOT_SATISFIED)) |
Definition at line 19 of file protoboard.hpp.