hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_query_validator.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_QUERY_VALIDATOR_HPP
7 #define IROHA_PROTO_QUERY_VALIDATOR_HPP
8 
10 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace validation {
15 
17  : public AbstractValidator<iroha::protocol::Query> {
18  public:
19  Answer validate(const iroha::protocol::Query &query) const override;
20  };
21 
23  : public AbstractValidator<iroha::protocol::BlocksQuery> {
24  public:
25  Answer validate(const iroha::protocol::BlocksQuery &) const override;
26  };
27 
28  } // namespace validation
29 } // namespace shared_model
30 
31 #endif // IROHA_PROTO_QUERY_VALIDATOR_HPP
Answer validate(const iroha::protocol::Query &query) const override
Definition: proto_query_validator.cpp:53
Definition: abstract_validator.hpp:16
Definition: proto_query_validator.hpp:22
Definition: proto_query_validator.hpp:16
Definition: command_executor.hpp:12
Definition: answer.hpp:28