Is it possible to determine all of the IP addresses of validators on the network? I imagine it is necessary to be able to, but is there a direct call that can be made to a running validator node?
I've tried calling
authority-discovery a few ways, but it seems there are issues accessing it due to private fields. I haven't found any examples of it being called directly except for tests, which have their own pseudo instantiations (not sure the proper Rust terminology). The supposed "polkadot-sdk" is starting to feel a little "black box".
let (worker, service) = sc_authority_discovery::new_worker_and_service( client.clone(), network.clone(), Box::pin(dht_event_stream), authority_discovery_role, prometheus_registry.clone(), );
This is from a test, but I haven't seen a clean example of the
network objects being created in the docs or any other project.