pub async fn wait_for_nodes( nodes: &mut HashMap<String, Option<Option<u64>>>, receiver: &mut Receiver<(String, String)>, ) -> Result<()>