Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::BabeApiImpl Class Referencefinal

#include <babe_api.hpp>

Inheritance diagram for kagome::runtime::BabeApiImpl:
Collaboration diagram for kagome::runtime::BabeApiImpl:

Public Member Functions

 BabeApiImpl (std::shared_ptr< Executor > executor)
 
outcome::result< primitives::BabeConfigurationconfiguration (primitives::BlockHash const &block) override
 
- Public Member Functions inherited from kagome::runtime::BabeApi
virtual ~BabeApi ()=default
 

Private Attributes

std::shared_ptr< Executorexecutor_
 

Detailed Description

Definition at line 15 of file babe_api.hpp.

Constructor & Destructor Documentation

kagome::runtime::BabeApiImpl::BabeApiImpl ( std::shared_ptr< Executor executor)
explicit

Definition at line 12 of file babe_api.cpp.

Member Function Documentation

outcome::result< primitives::BabeConfiguration > kagome::runtime::BabeApiImpl::configuration ( primitives::BlockHash const &  block)
overridevirtual

Get configuration for the babe

Returns
Babe configuration

Implements kagome::runtime::BabeApi.

Definition at line 17 of file babe_api.cpp.

Member Data Documentation

std::shared_ptr<Executor> kagome::runtime::BabeApiImpl::executor_
private

Definition at line 23 of file babe_api.hpp.


The documentation for this class was generated from the following files: