|
Zecale - Reconciling Privacy and Scalability on Smart-Contract Chains
0.5
Reference implementation of the Zecale protocol by Clearmatics
|
#include <nested_transaction.hpp>
Public Member Functions | |
| nested_transaction () | |
| nested_transaction (const std::string &application_name, const libzeth::extended_proof< nppT, nsnarkT > &extended_proof, const std::vector< uint8_t > ¶meters, uint32_t fee_wei=0) | |
| const std::string & | application_name () const |
| const libzeth::extended_proof< nppT, nsnarkT > & | extended_proof () const |
| const std::vector< uint8_t > & | parameters () const |
| uint32_t | fee_wei () const |
| std::ostream & | write_json (std::ostream &) const |
| bool | operator< (const nested_transaction< nppT, nsnarkT > &right) const |
This class represents transactions to be aggregated using zecale. The application name is used to determine which verification key needs to be used to verify the proof in the transaction.
Definition at line 17 of file nested_transaction.hpp.
| libzecale::nested_transaction< nppT, nsnarkT >::nested_transaction | ( | ) |
| libzecale::nested_transaction< nppT, nsnarkT >::nested_transaction | ( | const std::string & | application_name, |
| const libzeth::extended_proof< nppT, nsnarkT > & | extended_proof, | ||
| const std::vector< uint8_t > & | parameters, | ||
| uint32_t | fee_wei = 0 |
||
| ) |
| const std::string& libzecale::nested_transaction< nppT, nsnarkT >::application_name | ( | ) | const |
| const libzeth::extended_proof<nppT, nsnarkT>& libzecale::nested_transaction< nppT, nsnarkT >::extended_proof | ( | ) | const |

| uint32_t libzecale::nested_transaction< nppT, nsnarkT >::fee_wei | ( | ) | const |
| bool libzecale::nested_transaction< nppT, nsnarkT >::operator< | ( | const nested_transaction< nppT, nsnarkT > & | right | ) | const |
Overload the less-than operator in order to compare objects in priority queue
| const std::vector<uint8_t>& libzecale::nested_transaction< nppT, nsnarkT >::parameters | ( | ) | const |
| std::ostream& libzecale::nested_transaction< nppT, nsnarkT >::write_json | ( | std::ostream & | ) | const |
1.8.17