Kagome
Polkadot Runtime Engine in C++17
|
#include <chain_spec.hpp>
Public Member Functions | |
virtual | ~ChainSpec ()=default |
virtual const std::string & | name () const =0 |
virtual const std::string & | id () const =0 |
virtual const std::string & | chainType () const =0 |
virtual const std::vector< libp2p::multi::Multiaddress > & | bootNodes () const =0 |
Return ids of peer nodes of the current node. More... | |
virtual const std::vector< std::pair< std::string, size_t > > & | telemetryEndpoints () const =0 |
virtual const std::string & | protocolId () const =0 |
virtual const std::map< std::string, std::string > & | properties () const =0 |
virtual std::optional< std::reference_wrapper< const std::string > > | getProperty (const std::string &property) const =0 |
virtual const std::set< primitives::BlockHash > & | forkBlocks () const =0 |
virtual const std::set< primitives::BlockHash > & | badBlocks () const =0 |
virtual std::optional< std::string > | consensusEngine () const =0 |
virtual outcome::result< common::Buffer > | fetchCodeSubstituteByBlockInfo (const primitives::BlockInfo &block_info) const =0 |
virtual std::shared_ptr< const primitives::CodeSubstituteBlockIds > | codeSubstitutes () const =0 |
virtual const GenesisRawData & | getGenesisTopSection () const =0 |
virtual const ChildrenDefaultRawData & | getGenesisChildrenDefaultSection () const =0 |
bool | idStartsWith (std::string_view prefix) const |
bool | isKusama () const |
bool | isRococo () const |
bool | isWococo () const |
bool | isVersi () const |
Stores configuration of a kagome node and provides convenience methods for accessing config parameters
Definition at line 25 of file chain_spec.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Return ids of peer nodes of the current node.
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Fetches code_substitute from json config on demand, by its BlockInfo. BlockInfo is being compared with BlockIds that were loaded on initial configuration and stored in set.
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
inline |
Definition at line 78 of file chain_spec.hpp.
|
inline |
Definition at line 82 of file chain_spec.hpp.
|
inline |
Definition at line 86 of file chain_spec.hpp.
|
inline |
Definition at line 94 of file chain_spec.hpp.
|
inline |
Definition at line 90 of file chain_spec.hpp.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.
|
pure virtual |
Implemented in kagome::application::ChainSpecImpl.