pub fn reports(&self, validators: &[AuthorityId]) -> Vec<u32> {
		validators.iter()
			.enumerate()
			.filter_map(|(i, v)| if self.is_online(v) {
				None
			} else {
				Some(i as u32)
			})
			.collect()
	}
/// Generate a vector of indices for offline account IDs.
Generate a vector of indices for offline account IDs.
Generate a vector of indices for offline account IDs .
pub fn reports(&self, validators: &[AuthorityId]) -> Vec<u32> {
		validators.iter()
			.enumerate()
			.filter_map(|(i, v)| if self.is_online(v) {
				None
			} else {
				Some(i as u32)
			})
			.collect()
	}
pub fn reports ( & self , validators : & [ AuthorityId ] ) -> Vec < u32 > { validators . iter ( ) . enumerate ( ) . filter_map ( | ( i , v ) | if self . is_online ( v ) { None } else { Some ( i as u32 ) } ) . collect ( ) }
Generate a vector of indices for offline account IDs.
Generate a vector of indices for offline account IDs .
&self
validators
&[AuthorityId]
&self
validators
&[AuthorityId]