fn trusted_peers_shuffled(config: &Configuration) -> Vec<SocketAddr>