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
impl
account_nonce_api.hpp
authority_discovery_api.hpp
babe_api.hpp
block_builder.hpp
core.hpp
grandpa_api.hpp
metadata.hpp
offchain_worker_api.hpp
parachain_host.hpp
parachain_host_types.hpp
session_keys_api.hpp
tagged_transaction_queue.hpp
transaction_payment_api.hpp
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
babe_api.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_RUNTIME_BABE_API_HPP
7
#define KAGOME_CORE_RUNTIME_BABE_API_HPP
8
9
#include <
outcome/outcome.hpp
>
10
11
#include "
primitives/babe_configuration.hpp
"
12
13
namespace
kagome::runtime
{
14
18
class
BabeApi
{
19
public
:
20
virtual
~BabeApi
() =
default
;
21
26
virtual
outcome::result<primitives::BabeConfiguration>
configuration
(
27
const
primitives::BlockHash
&block) = 0;
28
};
29
30
}
// namespace kagome::runtime
31
32
#endif // KAGOME_CORE_RUNTIME_BABE_API_HPP
kagome::common::Blob< 32 >
kagome::runtime
Definition:
author_api_impl.hpp:43
babe_configuration.hpp
outcome.hpp
kagome::runtime::BabeApi
Definition:
babe_api.hpp:18
kagome::runtime::BabeApi::~BabeApi
virtual ~BabeApi()=default
kagome::runtime::BabeApi::configuration
virtual outcome::result< primitives::BabeConfiguration > configuration(const primitives::BlockHash &block)=0
core
runtime
runtime_api
babe_api.hpp
Generated by
1.8.11