Kagome
Polkadot Runtime Engine in C++17
|
#include <host_api_factory_impl.hpp>
Public Member Functions | |
~HostApiFactoryImpl () override=default | |
HostApiFactoryImpl (const OffchainExtensionConfig &offchain_config, std::shared_ptr< crypto::Sr25519Provider > sr25519_provider, std::shared_ptr< crypto::EcdsaProvider > ecdsa_provider, std::shared_ptr< crypto::Ed25519Provider > ed25519_provider, std::shared_ptr< crypto::Secp256k1Provider > secp256k1_provider, std::shared_ptr< crypto::Hasher > hasher, std::shared_ptr< crypto::CryptoStore > crypto_store, std::shared_ptr< crypto::Bip39Provider > bip39_provider, std::shared_ptr< offchain::OffchainPersistentStorage > offchain_persistent_storage, std::shared_ptr< offchain::OffchainWorkerPool > offchain_worker_pool) | |
std::unique_ptr< HostApi > | make (std::shared_ptr< const runtime::CoreApiFactory > core_factory, std::shared_ptr< const runtime::MemoryProvider > memory_provider, std::shared_ptr< runtime::TrieStorageProvider > storage_provider) const override |
Public Member Functions inherited from kagome::host_api::HostApiFactory | |
virtual | ~HostApiFactory ()=default |
Private Attributes | |
OffchainExtensionConfig | offchain_config_ |
std::shared_ptr< crypto::Sr25519Provider > | sr25519_provider_ |
std::shared_ptr< crypto::EcdsaProvider > | ecdsa_provider_ |
std::shared_ptr< crypto::Ed25519Provider > | ed25519_provider_ |
std::shared_ptr< crypto::Secp256k1Provider > | secp256k1_provider_ |
std::shared_ptr< crypto::Hasher > | hasher_ |
std::shared_ptr< crypto::CryptoStore > | crypto_store_ |
std::shared_ptr< crypto::Bip39Provider > | bip39_provider_ |
std::shared_ptr< offchain::OffchainPersistentStorage > | offchain_persistent_storage_ |
std::shared_ptr< offchain::OffchainWorkerPool > | offchain_worker_pool_ |
Definition at line 27 of file host_api_factory_impl.hpp.
|
overridedefault |
kagome::host_api::HostApiFactoryImpl::HostApiFactoryImpl | ( | const OffchainExtensionConfig & | offchain_config, |
std::shared_ptr< crypto::Sr25519Provider > | sr25519_provider, | ||
std::shared_ptr< crypto::EcdsaProvider > | ecdsa_provider, | ||
std::shared_ptr< crypto::Ed25519Provider > | ed25519_provider, | ||
std::shared_ptr< crypto::Secp256k1Provider > | secp256k1_provider, | ||
std::shared_ptr< crypto::Hasher > | hasher, | ||
std::shared_ptr< crypto::CryptoStore > | crypto_store, | ||
std::shared_ptr< crypto::Bip39Provider > | bip39_provider, | ||
std::shared_ptr< offchain::OffchainPersistentStorage > | offchain_persistent_storage, | ||
std::shared_ptr< offchain::OffchainWorkerPool > | offchain_worker_pool | ||
) |
Definition at line 12 of file host_api_factory_impl.cpp.
|
overridevirtual |
Takes
memory | and creates |
Implements kagome::host_api::HostApiFactory.
Definition at line 44 of file host_api_factory_impl.cpp.
|
private |
Definition at line 58 of file host_api_factory_impl.hpp.
|
private |
Definition at line 57 of file host_api_factory_impl.hpp.
|
private |
Definition at line 53 of file host_api_factory_impl.hpp.
|
private |
Definition at line 54 of file host_api_factory_impl.hpp.
|
private |
Definition at line 56 of file host_api_factory_impl.hpp.
|
private |
Definition at line 51 of file host_api_factory_impl.hpp.
|
private |
Definition at line 60 of file host_api_factory_impl.hpp.
|
private |
Definition at line 61 of file host_api_factory_impl.hpp.
|
private |
Definition at line 55 of file host_api_factory_impl.hpp.
|
private |
Definition at line 52 of file host_api_factory_impl.hpp.