Module sc_service::config
source · Expand description
Service configuration.
Structs§
- The base path that is used for everything that needs to be written on disk to run a node.
- Service configuration.
- Runtime executor configuration.
- A single request received by a peer on a request-response protocol.
Multiaddr
type used in Substrate. Converted to libp2p’sMultiaddr
or litep2p’sMultiaddr
when passed to the corresponding network backend.- Address of a node, including its identity.
- Network service configuration.
- Extension to
SetConfig
for sets that aren’t the default set. - Configuration of the database of the client.
- Response for an incoming request to be send by a request protocol handler.
- Configuration of the Prometheus endpoint.
- Protocol name prefix, transmitted on the wire for legacy protocol names. I.e.,
dot
in/dot/sync/2
. Should be unique for each chain. Always UTF-8. Deprecated in favour of genesis hash & fork ID based protocol names. - Configuration for a single request-response protocol.
- RPC configuration.
- Represent a single RPC endpoint with its configuration.
- Configuration for a set of nodes.
- List of telemetry servers we want to talk to. Contains the URL of the server, and the maximum verbosity level.
- Pool configuration options.
Enums§
- Block pruning settings.
- Where to find the database..
- Holds IPv4 or IPv6 network.
- Configuration of the client keystore.
- The configuration of a node’s secret key, describing the type of key and how it is obtained. A node’s identity keypair is the result of the evaluation of the node key configuration.
- Pruning mode.
- Role of the local node.
- Configuration for batch request handling.
- Available RPC methods.
- Sync operation mode.
- Type for tasks spawned by the executor.
- Configuration for the transport layer.
- Specification of different methods of executing the runtime Wasm code.
- The instantiation strategy to use for the WASM executor.
Traits§
- Trait for providing subscription IDs that can be cloned.