6 #ifndef KAGOME_CORE_AUTHORSHIP_IMPL_BLOCK_BUILDER_IMPL_HPP 7 #define KAGOME_CORE_AUTHORSHIP_IMPL_BLOCK_BUILDER_IMPL_HPP 25 std::shared_ptr<runtime::BlockBuilder> block_builder_api);
33 outcome::result<primitives::Block>
bake()
const override;
50 #endif // KAGOME_CORE_AUTHORSHIP_IMPL_BLOCK_BUILDER_IMPL_HPP std::shared_ptr< runtime::BlockBuilder > block_builder_api_
outcome::result< primitives::Block > bake() const override
size_t estimateBlockSize() const override
outcome::result< std::vector< primitives::Extrinsic > > getInherentExtrinsics(const primitives::InherentData &data) const override
~BlockBuilderImpl() override=default
std::shared_ptr< soralog::Logger > Logger
BlockBuilderImpl(primitives::BlockHeader block_header, const storage::trie::RootHash &storage_state, std::shared_ptr< runtime::BlockBuilder > block_builder_api)
outcome::result< primitives::ExtrinsicIndex > pushExtrinsic(const primitives::Extrinsic &extrinsic) override
std::vector< primitives::Extrinsic > extrinsics_
size_t estimatedBlockHeaderSize() const
primitives::BlockHeader block_header_
Extrinsic class represents extrinsic.
storage::trie::RootHash storage_state_