Kagome
Polkadot Runtime Engine in C++17
|
#include <app_configuration.hpp>
Public Member Functions | |
virtual | ~AppConfiguration ()=default |
virtual network::Roles | roles () const =0 |
virtual boost::filesystem::path | chainSpecPath () const =0 |
virtual boost::filesystem::path | runtimeCacheDirPath () const =0 |
virtual boost::filesystem::path | runtimeCachePath (std::string runtime_hash) const =0 |
virtual boost::filesystem::path | chainPath (std::string chain_id) const =0 |
virtual boost::filesystem::path | databasePath (std::string chain_id) const =0 |
virtual boost::filesystem::path | keystorePath (std::string chain_id) const =0 |
virtual const std::optional< crypto::Ed25519PrivateKey > & | nodeKey () const =0 |
virtual const std::optional< std::string > & | nodeKeyFile () const =0 |
virtual bool | shouldSaveNodeKey () const =0 |
virtual uint16_t | p2pPort () const =0 |
virtual uint32_t | outPeers () const =0 |
virtual uint32_t | inPeers () const =0 |
virtual uint32_t | inPeersLight () const =0 |
virtual int32_t | luckyPeers () const =0 |
virtual const std::vector< libp2p::multi::Multiaddress > & | bootNodes () const =0 |
virtual const std::vector< libp2p::multi::Multiaddress > & | listenAddresses () const =0 |
virtual const std::vector< libp2p::multi::Multiaddress > & | publicAddresses () const =0 |
virtual const boost::asio::ip::tcp::endpoint & | rpcHttpEndpoint () const =0 |
virtual const boost::asio::ip::tcp::endpoint & | rpcWsEndpoint () const =0 |
virtual const boost::asio::ip::tcp::endpoint & | openmetricsHttpEndpoint () const =0 |
virtual uint32_t | maxWsConnections () const =0 |
virtual std::chrono::seconds | getRandomWalkInterval () const =0 |
virtual const std::vector< std::string > & | log () const =0 |
virtual uint32_t | maxBlocksInResponse () const =0 |
virtual const network::PeeringConfig & | peeringConfig () const =0 |
virtual bool | isRunInDevMode () const =0 |
virtual const std::string & | nodeName () const =0 |
virtual const std::string & | nodeVersion () const =0 |
virtual bool | isTelemetryEnabled () const =0 |
virtual const std::vector< telemetry::TelemetryEndpoint > & | telemetryEndpoints () const =0 |
virtual SyncMethod | syncMethod () const =0 |
virtual RuntimeExecutionMethod | runtimeExecMethod () const =0 |
virtual bool | useWavmCache () const =0 |
virtual bool | purgeWavmCache () const =0 |
virtual OffchainWorkerMode | offchainWorkerMode () const =0 |
virtual bool | isOffchainIndexingEnabled () const =0 |
virtual bool | subcommandChainInfo () const =0 |
virtual std::optional< primitives::BlockId > | recoverState () const =0 |
virtual StorageBackend | storageBackend () const =0 |
virtual std::optional< std::string_view > | devMnemonicPhrase () const =0 |
Static Public Attributes | |
static constexpr uint32_t | kAbsolutMinBlocksInResponse = 1 |
static constexpr uint32_t | kAbsolutMaxBlocksInResponse = 128 |
static constexpr uint32_t | kNodeNameMaxLength = 64 |
Parse and store application config.
Definition at line 29 of file app_configuration.hpp.
Enumerator | |
---|---|
WhenValidating | |
Always | |
Never |
Definition at line 231 of file app_configuration.hpp.
Enumerator | |
---|---|
Compile | |
Interpret |
Definition at line 213 of file app_configuration.hpp.
Enumerator | |
---|---|
RocksDB |
Definition at line 243 of file app_configuration.hpp.
Enumerator | |
---|---|
Full | |
Fast |
Definition at line 207 of file app_configuration.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Optional phrase to use dev account (e.g. Alice and Bob)
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Config for PeerManager
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
A flag marking if we must force-purge WAVM runtime cache
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
List of telemetry endpoints specified via CLI argument or config file
Implemented in kagome::application::AppConfigurationImpl.
|
pure virtual |
A flag marking if we use and store precompiled WAVM runtimes. Significantly increases node restart speed. Especially useful when debugging.
Implemented in kagome::application::AppConfigurationImpl.
|
static |
Definition at line 32 of file app_configuration.hpp.
|
static |
Definition at line 31 of file app_configuration.hpp.
|
static |
Definition at line 33 of file app_configuration.hpp.