6 #ifndef KAGOME_CORE_AUTHORSHIP_BLOCK_BUILDER_HPP 7 #define KAGOME_CORE_AUTHORSHIP_BLOCK_BUILDER_HPP 23 virtual outcome::result<std::vector<primitives::Extrinsic>>
30 virtual outcome::result<primitives::ExtrinsicIndex>
pushExtrinsic(
36 virtual outcome::result<primitives::Block>
bake()
const = 0;
47 #endif // KAGOME_CORE_AUTHORSHIP_BLOCK_BUILDER_HPP virtual outcome::result< std::vector< primitives::Extrinsic > > getInherentExtrinsics(const primitives::InherentData &data) const =0
virtual outcome::result< primitives::Block > bake() const =0
virtual outcome::result< primitives::ExtrinsicIndex > pushExtrinsic(const primitives::Extrinsic &extrinsic)=0
virtual ~BlockBuilder()=default
virtual size_t estimateBlockSize() const =0
Extrinsic class represents extrinsic.