Function get_chain_dns_seeds

Source
pub fn get_chain_dns_seeds(network: Network) -> Vec<DnsSeed>
Expand description

Get a list of DnsSeeds for a given [Network].

Some DNS seeds allow requesting addresses using a [ServiceFlags] filter. Here we define x9, x49, and x1009 (the relevant services for this node to operate), and use them to request addresses from the DNS seeds that support it.