|
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) |
Public Member Functions inherited from libzeth::note_gadget< FieldT > | |
| 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 | |
Public Attributes inherited from libzeth::note_gadget< FieldT > | |
| 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 | ) |
1.8.17