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
runtime_code_provider.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_RUNTIME_RUNTIME_CODE_PROVIDER_HPP
7
#define KAGOME_CORE_RUNTIME_RUNTIME_CODE_PROVIDER_HPP
8
9
#include <gsl/span>
10
#include <optional>
11
12
#include "
primitives/block_id.hpp
"
13
#include "
storage/trie/types.hpp
"
14
15
namespace
kagome::runtime
{
19
class
RuntimeCodeProvider
{
20
public
:
21
virtual
~RuntimeCodeProvider
() =
default
;
22
23
virtual
outcome::result<gsl::span<const uint8_t>>
getCodeAt
(
24
const
storage::trie::RootHash
&state)
const
= 0;
25
};
26
27
}
// namespace kagome::runtime
28
29
#endif // KAGOME_CORE_RUNTIME_RUNTIME_CODE_PROVIDER_HPP
kagome::common::Blob< 32 >
kagome::runtime
Definition:
author_api_impl.hpp:43
block_id.hpp
types.hpp
kagome::runtime::RuntimeCodeProvider::getCodeAt
virtual outcome::result< gsl::span< const uint8_t > > getCodeAt(const storage::trie::RootHash &state) const =0
kagome::runtime::RuntimeCodeProvider::~RuntimeCodeProvider
virtual ~RuntimeCodeProvider()=default
kagome::runtime::RuntimeCodeProvider
Definition:
runtime_code_provider.hpp:19
core
runtime
runtime_code_provider.hpp
Generated by
1.8.11