6 #ifndef KAGOME_CORE_AUTHORSHIP_IMPL_AITHORING_IMPL_HPP 7 #define KAGOME_CORE_AUTHORSHIP_IMPL_AITHORING_IMPL_HPP 32 std::shared_ptr<BlockBuilderFactory> block_builder_factory,
33 std::shared_ptr<transaction_pool::TransactionPool> transaction_pool,
34 std::shared_ptr<primitives::events::ExtrinsicSubscriptionEngine>
36 std::shared_ptr<subscription::ExtrinsicEventKeyRepository>
37 extrinsic_event_key_repo);
39 outcome::result<primitives::Block>
propose(
47 std::shared_ptr<primitives::events::ExtrinsicSubscriptionEngine>
49 std::shared_ptr<subscription::ExtrinsicEventKeyRepository>
61 #endif // KAGOME_CORE_AUTHORSHIP_IMPL_AITHORING_IMPL_HPP std::shared_ptr< BlockBuilderFactory > block_builder_factory_
ProposerImpl(std::shared_ptr< BlockBuilderFactory > block_builder_factory, std::shared_ptr< transaction_pool::TransactionPool > transaction_pool, std::shared_ptr< primitives::events::ExtrinsicSubscriptionEngine > ext_sub_engine, std::shared_ptr< subscription::ExtrinsicEventKeyRepository > extrinsic_event_key_repo)
std::shared_ptr< subscription::ExtrinsicEventKeyRepository > extrinsic_event_key_repo_
static constexpr size_t kBlockSizeLimit
Default block size limit in bytes.
std::shared_ptr< transaction_pool::TransactionPool > transaction_pool_
std::shared_ptr< primitives::events::ExtrinsicSubscriptionEngine > ext_sub_engine_
metrics::Gauge * metric_tx_included_in_block_
metrics::RegistryPtr metrics_registry_
std::unique_ptr< Registry > RegistryPtr
~ProposerImpl() override=default
RegistryPtr createRegistry()
static constexpr auto kMaxSkippedTransactions
std::shared_ptr< soralog::Logger > Logger
outcome::result< primitives::Block > propose(const primitives::BlockInfo &parent_block, const primitives::InherentData &inherent_data, const primitives::Digest &inherent_digest) override
Logger createLogger(const std::string &tag)
A gauge metric to represent a value that can arbitrarily go up and down.