6 #ifndef IROHA_CHAIN_VALIDATOR_IMPL_HPP 7 #define IROHA_CHAIN_VALIDATOR_IMPL_HPP 26 class SupermajorityChecker;
32 namespace validation {
36 supermajority_checker,
39 bool validateAndApply(
40 std::shared_ptr<const shared_model::interface::Block> block,
45 bool validatePreviousHash(
55 bool validatePeerSupermajority(
57 const std::vector<std::shared_ptr<shared_model::interface::Peer>>
65 std::shared_ptr<const shared_model::interface::Block> block,
71 std::shared_ptr<consensus::yac::SupermajorityChecker>
72 supermajority_checker_;
79 #endif // IROHA_CHAIN_VALIDATOR_IMPL_HPP uint64_t HeightType
Type of height (for Block, Proposal etc)
Definition: types.hpp:48
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: chain_validator.hpp:28
Definition: block_query.hpp:15
Definition: chain_validator_impl.hpp:33
Definition: mutable_storage.hpp:33
Definition: ledger_state.hpp:25
bool validateHeight(const uint64_t &height)
Definition: validators_common.cpp:31
Definition: command_executor.hpp:13
Definition: cluster_order.hpp:16