Zecale - Reconciling Privacy and Scalability on Smart-Contract Chains  0.5
Reference implementation of the Zecale protocol by Clearmatics
proto_utils.hpp
Go to the documentation of this file.
1 // Copyright (c) 2015-2022 Clearmatics Technologies Ltd
2 //
3 // SPDX-License-Identifier: LGPL-3.0+
4 
5 #ifndef __ZECALE_SERIALIZATION_PROTO_UTILS_HPP__
6 #define __ZECALE_SERIALIZATION_PROTO_UTILS_HPP__
7 
9 
10 #include <zecale/api/aggregator.pb.h>
11 
12 namespace libzecale
13 {
14 
15 template<typename nppT, typename wppT, typename nsnarkT, typename wsnarkT>
17  zecale_proto::AggregatorConfiguration &config);
18 
19 template<typename ppT, typename apiHandlerT>
20 nested_transaction<ppT, typename apiHandlerT::snark> nested_transaction_from_proto(
21  const zecale_proto::NestedTransaction &transaction);
22 
23 } // namespace libzecale
24 
26 
27 #endif // __ZECALE_SERIALIZATION_PROTO_UTILS_HPP__
libzecale::nested_transaction_from_proto
nested_transaction< ppT, typename apiHandlerT::snark > nested_transaction_from_proto(const zecale_proto::NestedTransaction &transaction)
proto_utils.tcc
libzecale
Definition: aggregator_circuit.hpp:15
libzecale::aggregator_configuration_to_proto
void aggregator_configuration_to_proto(zecale_proto::AggregatorConfiguration &config)
nested_transaction.hpp