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

The port Substrate should listen on for p2p connections.

By default this is 30333.

The port Substrate should listen on for websocket connections.

By default this is 9944.

The port Substrate should listen on for http connections.

By default this is 9933.

The port Substrate should listen on for prometheus connections.

By default this is 9615.

Implementations on Foreign Types

Implementors