#include <block_executor_impl.hpp>
|
| BlockExecutorImpl (std::shared_ptr< blockchain::BlockTree > block_tree, std::shared_ptr< runtime::Core > core, std::shared_ptr< consensus::babe::BabeConfigRepository > babe_config_repo, std::shared_ptr< BlockValidator > block_validator, std::shared_ptr< grandpa::Environment > grandpa_environment, std::shared_ptr< transaction_pool::TransactionPool > tx_pool, std::shared_ptr< crypto::Hasher > hasher, std::shared_ptr< blockchain::DigestTracker > digest_tracker, std::shared_ptr< BabeUtil > babe_util, std::shared_ptr< runtime::OffchainWorkerApi > offchain_worker_api, std::shared_ptr< babe::ConsistencyKeeper > consistency_keeper) |
|
outcome::result< void > | applyBlock (primitives::BlockData &&block) override |
|
outcome::result< void > | applyJustification (const primitives::BlockInfo &block_info, const primitives::Justification &justification) override |
|
virtual | ~BlockExecutor ()=default |
|
Definition at line 42 of file block_executor_impl.hpp.
kagome::consensus::BlockExecutorImpl::BlockExecutorImpl |
( |
std::shared_ptr< blockchain::BlockTree > |
block_tree, |
|
|
std::shared_ptr< runtime::Core > |
core, |
|
|
std::shared_ptr< consensus::babe::BabeConfigRepository > |
babe_config_repo, |
|
|
std::shared_ptr< BlockValidator > |
block_validator, |
|
|
std::shared_ptr< grandpa::Environment > |
grandpa_environment, |
|
|
std::shared_ptr< transaction_pool::TransactionPool > |
tx_pool, |
|
|
std::shared_ptr< crypto::Hasher > |
hasher, |
|
|
std::shared_ptr< blockchain::DigestTracker > |
digest_tracker, |
|
|
std::shared_ptr< BabeUtil > |
babe_util, |
|
|
std::shared_ptr< runtime::OffchainWorkerApi > |
offchain_worker_api, |
|
|
std::shared_ptr< babe::ConsistencyKeeper > |
consistency_keeper |
|
) |
| |
outcome::result< void > kagome::consensus::BlockExecutorImpl::applyBlock |
( |
primitives::BlockData && |
block | ) |
|
|
overridevirtual |
std::shared_ptr<BabeUtil> kagome::consensus::BlockExecutorImpl::babe_util_ |
|
private |
std::shared_ptr<BlockValidator> kagome::consensus::BlockExecutorImpl::block_validator_ |
|
private |
std::shared_ptr<runtime::Core> kagome::consensus::BlockExecutorImpl::core_ |
|
private |
std::shared_ptr<crypto::Hasher> kagome::consensus::BlockExecutorImpl::hasher_ |
|
private |
log::Logger kagome::consensus::BlockExecutorImpl::logger_ |
|
private |
The documentation for this class was generated from the following files: