pub fn address_is_valid_for_inbound_listeners(
    listener_addr: SocketAddr,
    network: impl Into<Option<Network>>
) -> Result<(), &'static str>
Expand description

Is the supplied SocketAddr valid for inbound listeners on network?

This is used to check Zebra’s configured Zcash listener port.