Kagome
Polkadot Runtime Engine in C++17
|
#include <offchain_worker_factory_impl.hpp>
Public Member Functions | |
OffchainWorkerFactoryImpl (const application::AppConfiguration &app_config, std::shared_ptr< clock::SystemClock > clock, std::shared_ptr< crypto::Hasher > hasher, std::shared_ptr< storage::BufferStorage > storage, std::shared_ptr< crypto::CSPRNG > random_generator, std::shared_ptr< api::AuthorApi > author_api, const network::OwnPeerInfo ¤t_peer_info, std::shared_ptr< offchain::OffchainPersistentStorage > persistent_storage, std::shared_ptr< offchain::OffchainWorkerPool > offchain_worker_pool) | |
std::shared_ptr< OffchainWorker > | make (std::shared_ptr< runtime::Executor > executor, const primitives::BlockHeader &header) override |
Public Member Functions inherited from kagome::offchain::OffchainWorkerFactory | |
virtual | ~OffchainWorkerFactory ()=default |
Private Attributes | |
const application::AppConfiguration & | app_config_ |
std::shared_ptr< clock::SystemClock > | clock_ |
std::shared_ptr< crypto::Hasher > | hasher_ |
std::shared_ptr< storage::BufferStorage > | storage_ |
std::shared_ptr< crypto::CSPRNG > | random_generator_ |
std::shared_ptr< api::AuthorApi > | author_api_ |
const network::OwnPeerInfo & | current_peer_info_ |
std::shared_ptr< offchain::OffchainPersistentStorage > | persistent_storage_ |
std::shared_ptr< offchain::OffchainWorkerPool > | offchain_worker_pool_ |
Definition at line 32 of file offchain_worker_factory_impl.hpp.
kagome::offchain::OffchainWorkerFactoryImpl::OffchainWorkerFactoryImpl | ( | const application::AppConfiguration & | app_config, |
std::shared_ptr< clock::SystemClock > | clock, | ||
std::shared_ptr< crypto::Hasher > | hasher, | ||
std::shared_ptr< storage::BufferStorage > | storage, | ||
std::shared_ptr< crypto::CSPRNG > | random_generator, | ||
std::shared_ptr< api::AuthorApi > | author_api, | ||
const network::OwnPeerInfo & | current_peer_info, | ||
std::shared_ptr< offchain::OffchainPersistentStorage > | persistent_storage, | ||
std::shared_ptr< offchain::OffchainWorkerPool > | offchain_worker_pool | ||
) |
Definition at line 13 of file offchain_worker_factory_impl.cpp.
|
overridevirtual |
Implements kagome::offchain::OffchainWorkerFactory.
Definition at line 41 of file offchain_worker_factory_impl.cpp.
|
private |
Definition at line 50 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 55 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 51 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 56 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 52 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 58 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 57 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 54 of file offchain_worker_factory_impl.hpp.
|
private |
Definition at line 53 of file offchain_worker_factory_impl.hpp.