6 #ifndef KAGOME_RUNTIME_BLOCK_BUILDER_HPP 7 #define KAGOME_RUNTIME_BLOCK_BUILDER_HPP 31 virtual outcome::result<PersistentResult<primitives::ApplyExtrinsicResult>>
47 virtual outcome::result<std::vector<primitives::Extrinsic>>
56 virtual outcome::result<primitives::CheckInherentsResult>
check_inherents(
63 virtual outcome::result<common::Hash256>
random_seed(
68 #endif // KAGOME_RUNTIME_BLOCK_BUILDER_HPP
Block class represents polkadot block primitive.
virtual outcome::result< primitives::BlockHeader > finalize_block(const primitives::BlockInfo &block, storage::trie::RootHash const &storage_hash)=0
virtual outcome::result< common::Hash256 > random_seed(const primitives::BlockHash &block)=0
virtual outcome::result< std::vector< primitives::Extrinsic > > inherent_extrinsics(const primitives::BlockInfo &block, storage::trie::RootHash const &storage_hash, const primitives::InherentData &data)=0
virtual outcome::result< primitives::CheckInherentsResult > check_inherents(const primitives::Block &block, const primitives::InherentData &data)=0
virtual ~BlockBuilder()=default
Extrinsic class represents extrinsic.
virtual outcome::result< PersistentResult< primitives::ApplyExtrinsicResult > > apply_extrinsic(const primitives::BlockInfo &block, storage::trie::RootHash const &storage_hash, const primitives::Extrinsic &extrinsic)=0