hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
always_valid_validator.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ALWAYS_VALID_VALIDATOR_HPP
7 #define IROHA_ALWAYS_VALID_VALIDATOR_HPP
8 
10 
11 namespace shared_model {
12  namespace validation {
13  template <typename T>
16  public:
17  AlwaysValidValidator() = default;
19  std::shared_ptr<shared_model::validation::ValidatorsConfig>){};
20  shared_model::validation::Answer validate(const T &m) const override {
21  return {};
22  }
23  };
24 
25  } // namespace validation
26 } // namespace shared_model
27 
28 #endif // IROHA_ALWAYS_VALID_VALIDATOR_HPP
Definition: abstract_validator.hpp:16
shared_model::validation::Answer validate(const T &m) const override
Definition: always_valid_validator.hpp:20
Definition: always_valid_validator.hpp:14
AlwaysValidValidator(std::shared_ptr< shared_model::validation::ValidatorsConfig >)
Definition: always_valid_validator.hpp:18
Definition: command_executor.hpp:12
Definition: answer.hpp:28