Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
authority_discovery_api.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_RUNTIME_RUNTIME_API_AUTHORITY_DISCOVERY_API_HPP
7
#define KAGOME_RUNTIME_RUNTIME_API_AUTHORITY_DISCOVERY_API_HPP
8
9
#include "
primitives/authority_discovery_id.hpp
"
10
#include "
primitives/block_id.hpp
"
11
12
namespace
kagome::runtime
{
13
14
class
AuthorityDiscoveryApi
{
15
public
:
16
virtual
~AuthorityDiscoveryApi
() =
default
;
17
18
virtual
outcome::result<std::vector<primitives::AuthorityDiscoveryId>>
19
authorities
(
const
primitives::BlockHash
&block) = 0;
20
};
21
}
// namespace kagome::runtime
22
23
#endif // KAGOME_RUNTIME_RUNTIME_API_AUTHORITY_DISCOVERY_API_HPP
kagome::common::Blob< 32 >
kagome::runtime
Definition:
author_api_impl.hpp:43
kagome::runtime::AuthorityDiscoveryApi
Definition:
authority_discovery_api.hpp:14
block_id.hpp
authority_discovery_id.hpp
kagome::runtime::AuthorityDiscoveryApi::~AuthorityDiscoveryApi
virtual ~AuthorityDiscoveryApi()=default
kagome::runtime::AuthorityDiscoveryApi::authorities
virtual outcome::result< std::vector< primitives::AuthorityDiscoveryId > > authorities(const primitives::BlockHash &block)=0
core
runtime
runtime_api
authority_discovery_api.hpp
Generated by
1.8.11