Kagome
Polkadot Runtime Engine in C++17
|
#include <core_api_factory_impl.hpp>
Public Member Functions | |
CoreApiFactoryImpl (std::shared_ptr< CompartmentWrapper > compartment, std::shared_ptr< ModuleParams > module_params, std::shared_ptr< IntrinsicModule > intrinsic_module, std::shared_ptr< storage::trie::TrieStorage > storage, std::shared_ptr< blockchain::BlockHeaderRepository > block_header_repo, std::shared_ptr< const InstanceEnvironmentFactory > instance_env_factory, std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker, std::shared_ptr< SingleModuleCache > last_compiled_module, 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< CompartmentWrapper > | compartment_ |
std::shared_ptr< ModuleParams > | module_params_ |
std::shared_ptr< IntrinsicModule > | intrinsic_module_ |
std::shared_ptr< storage::trie::TrieStorage > | storage_ |
std::shared_ptr< blockchain::BlockHeaderRepository > | block_header_repo_ |
std::shared_ptr< storage::changes_trie::ChangesTracker > | changes_tracker_ |
std::shared_ptr< SingleModuleCache > | last_compiled_module_ |
std::shared_ptr< runtime::RuntimePropertiesCache > | cache_ |
Definition at line 39 of file core_api_factory_impl.hpp.
kagome::runtime::wavm::CoreApiFactoryImpl::CoreApiFactoryImpl | ( | std::shared_ptr< CompartmentWrapper > | compartment, |
std::shared_ptr< ModuleParams > | module_params, | ||
std::shared_ptr< IntrinsicModule > | intrinsic_module, | ||
std::shared_ptr< storage::trie::TrieStorage > | storage, | ||
std::shared_ptr< blockchain::BlockHeaderRepository > | block_header_repo, | ||
std::shared_ptr< const InstanceEnvironmentFactory > | instance_env_factory, | ||
std::shared_ptr< storage::changes_trie::ChangesTracker > | changes_tracker, | ||
std::shared_ptr< SingleModuleCache > | last_compiled_module, | ||
std::shared_ptr< runtime::RuntimePropertiesCache > | cache | ||
) |
Definition at line 90 of file core_api_factory_impl.cpp.
|
overridevirtual |
Implements kagome::runtime::CoreApiFactory.
Definition at line 120 of file core_api_factory_impl.cpp.
|
private |
Definition at line 64 of file core_api_factory_impl.hpp.
|
private |
Definition at line 67 of file core_api_factory_impl.hpp.
|
private |
Definition at line 65 of file core_api_factory_impl.hpp.
|
private |
Definition at line 60 of file core_api_factory_impl.hpp.
|
private |
Definition at line 59 of file core_api_factory_impl.hpp.
|
private |
Definition at line 62 of file core_api_factory_impl.hpp.
|
private |
Definition at line 66 of file core_api_factory_impl.hpp.
|
private |
Definition at line 61 of file core_api_factory_impl.hpp.
|
private |
Definition at line 63 of file core_api_factory_impl.hpp.