hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
batch_order_validator.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_BATCH_ORDER_VALIDATOR_HPP
7 #define IROHA_BATCH_ORDER_VALIDATOR_HPP
8 
10 
11 #include <boost/optional.hpp>
12 
13 namespace shared_model {
14  namespace validation {
16  private:
24  std::string canFollow(
25  boost::optional<std::shared_ptr<interface::Transaction>> tr1,
26  boost::optional<std::shared_ptr<interface::Transaction>> tr2) const;
27 
28  public:
30  &transactions) const override;
31  };
32  } // namespace validation
33 } // namespace shared_model
34 
35 #endif // IROHA_ORDER_VALIDATOR_HPP
Definition: order_validator.hpp:14
Definition: batch_order_validator.hpp:15
virtual Answer validate(const interface::types::SharedTxsCollectionType &transactions) const override
Definition: batch_order_validator.cpp:88
Definition: command_executor.hpp:12
Definition: answer.hpp:28
std::vector< std::shared_ptr< Transaction >> SharedTxsCollectionType
Definition: transaction_sequence_common.hpp:27