hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
transaction_sequence_factory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_TRANSACTION_SEQUENCE_FACTORY_HPP
7 #define IROHA_TRANSACTION_SEQUENCE_FACTORY_HPP
8 
10 
11 #include "common/result.hpp"
13 
14 namespace shared_model {
15  namespace interface {
16 
22  public:
30  template <typename TransactionsCollectionValidator,
31  typename FieldValidator = validation::FieldValidator>
34  const types::SharedTxsCollectionType &transactions,
35  const TransactionsCollectionValidator &validator,
36  const FieldValidator &field_validator);
37  };
38 
39  } // namespace interface
40 } // namespace shared_model
41 
42 #endif // IROHA_TRANSACTION_SEQUENCE_FACTORY_HPP
Definition: transaction_sequence_factory.hpp:21
Definition: result_fwd.hpp:27
std::vector< std::shared_ptr< Transaction > > SharedTxsCollectionType
Definition: transaction_sequence_common.hpp:27
Definition: field_validator.hpp:41
Definition: command_executor.hpp:13
static iroha::expected::Result< TransactionSequence, std::string > createTransactionSequence(const types::SharedTxsCollectionType &transactions, const TransactionsCollectionValidator &validator, const FieldValidator &field_validator)
Definition: transaction_sequence_factory.cpp:36