Trait sc_cli::DefaultConfigurationValues
source · pub trait DefaultConfigurationValues {
// Provided methods
fn p2p_listen_port() -> u16 { ... }
fn rpc_listen_port() -> u16 { ... }
fn prometheus_listen_port() -> u16 { ... }
}
Expand description
Default configuration values used by Substrate
These values will be used by CliConfiguration
to set
default values for e.g. the listen port or the RPC port.
Provided Methods§
sourcefn p2p_listen_port() -> u16
fn p2p_listen_port() -> u16
The port Substrate should listen on for p2p connections.
By default this is 30333
.
sourcefn rpc_listen_port() -> u16
fn rpc_listen_port() -> u16
The port Substrate should listen on for JSON-RPC connections.
By default this is 9944
.
sourcefn prometheus_listen_port() -> u16
fn prometheus_listen_port() -> u16
The port Substrate should listen on for prometheus connections.
By default this is 9615
.