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