Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include <joinsplit_input.hpp>
Public Member Functions | |
joinsplit_input () | |
joinsplit_input (std::vector< FieldT > &&witness_merkle_path, const bits_addr< TreeDepth > &address_bits, const zeth_note ¬e, const bits256 &key, const bits256 &nullifier) | |
Public Attributes | |
std::vector< FieldT > | witness_merkle_path |
bits_addr< TreeDepth > | address_bits |
zeth_note | note |
bits256 | spending_key_a_sk |
bits256 | nullifier |
We simplify the interface of the joinsplit_input object compared to what Zcash did. In fact, all our fields are going to be computed from another component written in Python or JS, that will use the Ethereum primitives to hash.
Definition at line 21 of file joinsplit_input.hpp.
|
inline |
Definition at line 33 of file joinsplit_input.hpp.
|
inline |
Definition at line 34 of file joinsplit_input.hpp.
bits_addr<TreeDepth> libzeth::joinsplit_input< FieldT, TreeDepth >::address_bits |
Definition at line 28 of file joinsplit_input.hpp.
zeth_note libzeth::joinsplit_input< FieldT, TreeDepth >::note |
Definition at line 29 of file joinsplit_input.hpp.
bits256 libzeth::joinsplit_input< FieldT, TreeDepth >::nullifier |
Definition at line 31 of file joinsplit_input.hpp.
bits256 libzeth::joinsplit_input< FieldT, TreeDepth >::spending_key_a_sk |
Definition at line 30 of file joinsplit_input.hpp.
std::vector<FieldT> libzeth::joinsplit_input< FieldT, TreeDepth >::witness_merkle_path |
Definition at line 25 of file joinsplit_input.hpp.