hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
deserialize_repeated_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_DESERIALIZE_REPEATED_TRANSACTIONS_HPP
7 #define IROHA_SHARED_MODEL_PROTO_DESERIALIZE_REPEATED_TRANSACTIONS_HPP
8 
9 #include "common/result.hpp"
13 #include "transaction.pb.h"
14 
15 namespace shared_model {
16  namespace proto {
17 
18  using TransactionFactoryType = interface::AbstractTransportFactory<
21 
22  iroha::expected::Result<interface::types::SharedTxsCollectionType,
25  const TransactionFactoryType &transaction_factory,
26  const google::protobuf::RepeatedPtrField<iroha::protocol::Transaction>
27  &transactions);
28  } // namespace proto
29 } // namespace shared_model
30 
31 #endif // IROHA_SHARED_MODEL_PROTO_DESERIALIZE_REPEATED_TRANSACTIONS_HPP
iroha::expected::Result< interface::types::SharedTxsCollectionType, TransactionFactoryType::Error > deserializeTransactions(const TransactionFactoryType &transaction_factory, const google::protobuf::RepeatedPtrField< iroha::protocol::Transaction > &transactions)
Definition: deserialize_repeated_transactions.cpp:13
interface::AbstractTransportFactory< shared_model::interface::Transaction, iroha::protocol::Transaction > TransactionFactoryType
Definition: deserialize_repeated_transactions.hpp:20
Definition: abstract_transport_factory.hpp:21
std::vector< std::shared_ptr< Transaction > > SharedTxsCollectionType
Definition: transaction_sequence_common.hpp:27
Definition: command_executor.hpp:12
Definition: transaction.hpp:23