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