hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_transaction_validator.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_TRANSACTION_VALIDATOR_HPP
7 #define IROHA_PROTO_TRANSACTION_VALIDATOR_HPP
8 
10 
12 
13 namespace iroha {
14  namespace protocol {
15  class Transaction;
16  }
17 } // namespace iroha
18 
19 namespace shared_model {
20  namespace validation {
21 
23  : public AbstractValidator<iroha::protocol::Transaction> {
24  public:
25  std::optional<ValidationError> validate(
26  const iroha::protocol::Transaction &tx) const override;
27 
28  private:
29  ProtoCommandValidator command_validator_;
30  };
31  } // namespace validation
32 } // namespace shared_model
33 
34 #endif // IROHA_PROTO_TRANSACTION_VALIDATOR_HPP
Definition: wsv_restorer_impl.hpp:20
Definition: block_query.hpp:15
Definition: proto_command_validator.hpp:20
Definition: command_executor.hpp:13
Definition: proto_transaction_validator.hpp:22