Kagome
Polkadot Runtime Engine in C++17
|
#include <core_api_factory_impl.hpp>
Public Member Functions | |
CoreApiFactoryImpl (std::shared_ptr< const InstanceEnvironmentFactory > instance_env_factory, std::shared_ptr< const blockchain::BlockHeaderRepository > header_repo, std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker, std::shared_ptr< runtime::RuntimePropertiesCache > cache) | |
std::unique_ptr< Core > | make (std::shared_ptr< const crypto::Hasher > hasher, const std::vector< uint8_t > &runtime_code) const override |
Public Member Functions inherited from kagome::runtime::CoreApiFactory | |
virtual | ~CoreApiFactory ()=default |
Private Attributes | |
std::shared_ptr< const InstanceEnvironmentFactory > | instance_env_factory_ |
std::shared_ptr< const blockchain::BlockHeaderRepository > | header_repo_ |
std::shared_ptr< storage::changes_trie::ChangesTracker > | changes_tracker_ |
std::shared_ptr< runtime::RuntimePropertiesCache > | cache_ |
Definition at line 36 of file core_api_factory_impl.hpp.
kagome::runtime::binaryen::CoreApiFactoryImpl::CoreApiFactoryImpl | ( | std::shared_ptr< const InstanceEnvironmentFactory > | instance_env_factory, |
std::shared_ptr< const blockchain::BlockHeaderRepository > | header_repo, | ||
std::shared_ptr< storage::changes_trie::ChangesTracker > | changes_tracker, | ||
std::shared_ptr< runtime::RuntimePropertiesCache > | cache | ||
) |
Definition at line 65 of file core_api_factory_impl.cpp.
|
overridevirtual |
Implements kagome::runtime::CoreApiFactory.
Definition at line 80 of file core_api_factory_impl.cpp.
|
private |
Definition at line 54 of file core_api_factory_impl.hpp.
|
private |
Definition at line 53 of file core_api_factory_impl.hpp.
|
private |
Definition at line 52 of file core_api_factory_impl.hpp.
|
private |
Definition at line 51 of file core_api_factory_impl.hpp.