mod connection;
mod endpoint;
pub use endpoint::{ConnectError, IrohEndpoint, IrohEndpointArgs, ToIrohEndpoint};
pub(crate) fn is_globally_reachable_endpoint(addr: iroh::EndpointAddr) -> bool {
addr.ip_addrs()
.any(|addr| crate::utils::connectivity_status(addr).is_global())
}