Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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