pd::network::config

Function parse_tm_address

Source
pub fn parse_tm_address(
    node_id: Option<&Id>,
    node_address: &Url,
) -> Result<Address>
Expand description

Construct a tendermint_config::net::Address from an optional node Id and node_address. The node_address can be an IP address or a hostname. Supports custom ports, defaulting to 26656 if not specified.