pd::network::join

Function fetch_listen_address

Source
pub async fn fetch_listen_address(tm_url: &Url) -> Option<Address>
Expand description

Query the Tendermint node’s RPC endpoint at tm_url and return the listener address for the P2P endpoint. Returns an Option because it’s possible that no p2p listener is configured.