Trait sc_cli::DefaultConfigurationValues [−][src]
pub trait DefaultConfigurationValues { fn p2p_listen_port() -> u16 { ... } fn rpc_ws_listen_port() -> u16 { ... } fn rpc_http_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
fn p2p_listen_port() -> u16
fn p2p_listen_port() -> u16
The port Substrate should listen on for p2p connections.
By default this is 30333
.
fn rpc_ws_listen_port() -> u16
fn rpc_ws_listen_port() -> u16
The port Substrate should listen on for websocket connections.
By default this is 9944
.
fn rpc_http_listen_port() -> u16
fn rpc_http_listen_port() -> u16
The port Substrate should listen on for http connections.
By default this is 9933
.
fn prometheus_listen_port() -> u16
fn prometheus_listen_port() -> u16
The port Substrate should listen on for prometheus connections.
By default this is 9615
.