pub async fn initial_peers(&self) -> HashSet<SocketAddr> {
        match self.network {
            Network::Mainnet => Config::resolve_peers(&self.initial_mainnet_peers).await,
            Network::Testnet => Config::resolve_peers(&self.initial_testnet_peers).await,
        }
    }
/// Get the initial seed peers based on the configured network.
Get the initial seed peers based on the configured network.
Get the initial seed peers based on the configured network .
pub async fn initial_peers(&self) -> HashSet<SocketAddr> {
        match self.network {
            Network::Mainnet => Config::resolve_peers(&self.initial_mainnet_peers).await,
            Network::Testnet => Config::resolve_peers(&self.initial_testnet_peers).await,
        }
    }
pub async fn initial_peers ( & self ) -> HashSet < SocketAddr > { match self . network { Network :: Mainnet => Config :: resolve_peers ( & self . initial_mainnet_peers ) . await , Network :: Testnet => Config :: resolve_peers ( & self . initial_testnet_peers ) . await , } }
Get the initial seed peers based on the configured network.
Get the initial seed peers based on the configured network .
&self