Trait tc_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 { ... } }

Default configuration values used by Tetcore

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[src]

The port Tetcore should listen on for p2p connections.

By default this is 30333.

fn rpc_ws_listen_port() -> u16[src]

The port Tetcore should listen on for websocket connections.

By default this is 9944.

fn rpc_http_listen_port() -> u16[src]

The port Tetcore should listen on for http connections.

By default this is 9933.

fn prometheus_listen_port() -> u16[src]

The port Tetcore should listen on for prometheus connections.

By default this is 9615.

Loading content...

Implementations on Foreign Types

impl DefaultConfigurationValues for ()[src]

Loading content...

Implementors

Loading content...