linera_rpc::config

Type Alias ValidatorPublicNetworkConfig

Source
pub type ValidatorPublicNetworkConfig = ValidatorPublicNetworkPreConfig<NetworkProtocol>;
Expand description

The public network configuration for a validator.

Aliased Type§

struct ValidatorPublicNetworkConfig {
    pub protocol: NetworkProtocol,
    pub host: String,
    pub port: u16,
}

Fields§

§protocol: NetworkProtocol

The network protocol to use for the validator frontend.

§host: String

The host name of the validator (IP or hostname).

§port: u16

The port the validator listens on.

Implementations§