Function pd::testnet::join::fetch_peers

source ·
pub async fn fetch_peers(tm_url: &Url) -> Result<Vec<TendermintAddress>>
Expand description

Query the Tendermint node’s RPC endpoint at tm_url and return a list of all known peers by their external_addresses. Omits private/special addresses like localhost or 0.0.0.0.