mod consensus;
mod sources;
pub use consensus::*;
pub use sources::*;
use std::net::IpAddr;
pub async fn get_ip() -> Option<IpAddr> {
let sources: Sources = get_sources();
let consensus = ConsensusBuilder::new()
.add_sources(sources)
.build();
consensus.get_consensus().await
}