Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Commit to the output notes of the Joinsplit. More...
#include <note.hpp>
Public Member Functions | |
output_note_gadget (libsnark::protoboard< FieldT > &pb, std::shared_ptr< libsnark::digest_variable< FieldT >> rho, const libsnark::pb_variable< FieldT > &commitment, const std::string &annotation_prefix="output_note_gadget") | |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness (const zeth_note ¬e) |
![]() | |
note_gadget (libsnark::protoboard< FieldT > &pb, const std::string &annotation_prefix="note_gadget") | |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness (const zeth_note ¬e) |
Additional Inherited Members | |
![]() | |
libsnark::pb_variable_array< FieldT > | value |
libsnark::pb_variable_array< FieldT > | r |
Commit to the output notes of the Joinsplit.
libzeth::output_note_gadget< FieldT, HashT >::output_note_gadget | ( | libsnark::protoboard< FieldT > & | pb, |
std::shared_ptr< libsnark::digest_variable< FieldT >> | rho, | ||
const libsnark::pb_variable< FieldT > & | commitment, | ||
const std::string & | annotation_prefix = "output_note_gadget< FieldT, HashT >" |
||
) |
void libzeth::output_note_gadget< FieldT, HashT >::generate_r1cs_constraints | ( | ) |
void libzeth::output_note_gadget< FieldT, HashT >::generate_r1cs_witness | ( | const zeth_note & | note | ) |