Function pd::testnet::join::parse_tm_address_listener

source ยท
pub fn parse_tm_address_listener(s: &str) -> Option<Address>
Expand description

Extract a TendermintAddress obtained from the RPC /net_info endpoint. The raw value is a String formatted as:

  • Listener(@35.226.255.25:26656) or
  • Listener(@tcp://35.226.255.25:26656) or
  • Listener(@)

It may be possible for a node [Id] to proceed the @.