hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::TransactionSequenceFactory Class Reference

#include "transaction_sequence_factory.hpp"

Collaboration diagram for shared_model::interface::TransactionSequenceFactory:
Collaboration graph

Static Public Member Functions

template<typename TransactionValidator , typename FieldValidator = validation::FieldValidator>
static iroha::expected::Result< TransactionSequence, std::string > createTransactionSequence (const types::SharedTxsCollectionType &transactions, const validation::TransactionsCollectionValidator< TransactionValidator > &validator, const FieldValidator &field_validator)
 

Detailed Description

Provides a method that creates a transaction sequence from a collection of transactions

Member Function Documentation

template<typename TransactionValidator , typename FieldValidator >
template iroha::expected::Result< TransactionSequence, std::string > shared_model::interface::TransactionSequenceFactory::createTransactionSequence ( const types::SharedTxsCollectionType transactions,
const validation::TransactionsCollectionValidator< TransactionValidator > &  validator,
const FieldValidator &  field_validator 
)
static

Creator of transaction sequence

Parameters
transactionscollection of transactions
validatorvalidator of the collections
Returns
Result containing transaction sequence if validation successful and string message containing error otherwise

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: