Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <libsnark/relations/constraint_satisfaction_problems/r1cs/r1cs.hpp>
#include <memory>
#include <libsnark/zk_proof_systems/pcd/r1cs_pcd/compliance_predicate/compliance_predicate.tcc>
Go to the source code of this file.
Namespaces | |
libsnark | |
Typedefs | |
template<typename FieldT > | |
using | libsnark::r1cs_pcd_witness = std::vector< FieldT > |
Functions | |
template<typename FieldT > | |
std::ostream & | libsnark::operator<< (std::ostream &out, const r1cs_pcd_compliance_predicate< FieldT > &cp) |
template<typename FieldT > | |
std::istream & | libsnark::operator>> (std::istream &in, r1cs_pcd_compliance_predicate< FieldT > &cp) |
Declaration of interfaces for a compliance predicate for R1CS PCD.
A compliance predicate specifies a local invariant to be enforced, by PCD, throughout a dynamic distributed computation. A compliance predicate receives input messages, local data, and an output message (and perhaps some other auxiliary information), and then either accepts or rejects.
Definition in file compliance_predicate.hpp.