Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include <note.hpp>
Public Member Functions | |
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) |
Public Attributes | |
libsnark::pb_variable_array< FieldT > | value |
libsnark::pb_variable_array< FieldT > | r |
Gadget that makes sure that the note:
|
explicit |
void libzeth::note_gadget< FieldT >::generate_r1cs_constraints | ( | ) |
void libzeth::note_gadget< FieldT >::generate_r1cs_witness | ( | const zeth_note & | note | ) |
libsnark::pb_variable_array<FieldT> libzeth::note_gadget< FieldT >::r |
libsnark::pb_variable_array<FieldT> libzeth::note_gadget< FieldT >::value |