Kagome
Polkadot Runtime Engine in C++17
|
#include <block_validator.hpp>
Public Member Functions | |
virtual | ~BlockValidator ()=default |
virtual outcome::result< void > | validateHeader (const primitives::BlockHeader &block_header, const EpochNumber epoch_number, const primitives::AuthorityId &authority_id, const Threshold &threshold, const primitives::BabeConfiguration &config) const =0 |
Validator of the blocks
Definition at line 17 of file block_validator.hpp.
|
virtualdefault |
|
pure virtual |
Validate the block header
block | to be validated |
authority_id | authority that sent this block |
threshold | is vrf threshold for this epoch |
config | is babe config for this epoch |
Implemented in kagome::consensus::BabeBlockValidator.