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 
9 #include "block.pb.h"
11 
12 namespace shared_model {
13  namespace validation {
15  : public AbstractValidator<iroha::protocol::Block> {
16  public:
17  Answer validate(const iroha::protocol::Block &block) const override;
18  };
19  } // namespace validation
20 } // namespace shared_model
21 
22 #endif // IROHA_PROTO_BLOCK_VALIDATOR_HPP
Definition: proto_block_validator.hpp:14
Definition: abstract_validator.hpp:16
Definition: command_executor.hpp:12
Answer validate(const iroha::protocol::Block &block) const override
Definition: proto_block_validator.cpp:16
Definition: answer.hpp:28