Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
binaryen
common
runtime_api
wavm
core_api_factory.hpp
instance_environment.hpp
memory.hpp
memory_provider.hpp
module.hpp
module_factory.hpp
module_instance.hpp
module_repository.hpp
persistent_result.hpp
ptr_size.hpp
raw_executor.hpp
runtime_code_provider.hpp
runtime_environment_factory.hpp
runtime_properties_cache.hpp
runtime_upgrade_tracker.hpp
trie_storage_provider.hpp
types.hpp
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
core_api_factory.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_RUNTIME_CORE_API_FACTORY_IMPL_HPP
7
#define KAGOME_CORE_RUNTIME_CORE_API_FACTORY_IMPL_HPP
8
9
#include <memory>
10
#include <vector>
11
12
namespace
kagome::host_api
{
13
class
HostApiFactory;
14
}
15
16
namespace
kagome::crypto
{
17
class
Hasher;
18
}
19
20
namespace
kagome::runtime
{
21
22
class
Core;
23
28
class
CoreApiFactory
{
29
public
:
30
virtual
~
CoreApiFactory
() =
default
;
31
32
[[nodiscard]]
virtual
std::unique_ptr<Core> make(
33
std::shared_ptr<const crypto::Hasher> hasher,
34
const
std::vector<uint8_t> &runtime_code)
const
= 0;
35
};
36
37
}
// namespace kagome::runtime
38
39
#endif // KAGOME_CORE_RUNTIME_CORE_API_FACTORY_IMPL_HPP
kagome::runtime
Definition:
author_api_impl.hpp:43
kagome::runtime::CoreApiFactory
Definition:
core_api_factory.hpp:28
kagome::host_api
Definition:
host_api.hpp:20
kagome::crypto
Definition:
author_api_impl.hpp:31
core
runtime
core_api_factory.hpp
Generated by
1.8.11