Zecale - Reconciling Privacy and Scalability on Smart-Contract Chains
0.5
Reference implementation of the Zecale protocol by Clearmatics
libzecale
serialization
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
8
#include "
libzecale/core/nested_transaction.hpp
"
9
10
#include <zecale/api/aggregator.pb.h>
11
12
namespace
libzecale
13
{
14
15
template
<
typename
nppT,
typename
wppT,
typename
nsnarkT,
typename
wsnarkT>
16
void
aggregator_configuration_to_proto
(
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
25
#include "
libzecale/serialization/proto_utils.tcc
"
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
Generated on Wed Jan 5 2022 09:17:53 for Zecale - Reconciling Privacy and Scalability on Smart-Contract Chains by
1.8.17