Kagome
Polkadot Runtime Engine in C++17
|
#include <proposer.hpp>
Public Member Functions | |
virtual | ~Proposer ()=default |
virtual outcome::result< primitives::Block > | propose (const primitives::BlockInfo &parent_block, const primitives::InherentData &inherent_data, const primitives::Digest &inherent_digest)=0 |
Create block to further proposal for consensus
Definition at line 20 of file proposer.hpp.
|
virtualdefault |
|
pure virtual |
Creates block from provided parameters
parent_block | number and hash of parent block |
inherent_data | additional data on block from unsigned extrinsics |
inherent_digests | - chain-specific block auxiliary data |
Implemented in kagome::authorship::ProposerImpl.