Trait sp_consensus::block_validation::BlockAnnounceValidator [−][src]
Type which checks incoming block announcements.
Required methods
fn validate(
&mut self,
header: &B::Header,
data: &[u8]
) -> Result<Validation, Box<dyn Error + Send>>
[src]
&mut self,
header: &B::Header,
data: &[u8]
) -> Result<Validation, Box<dyn Error + Send>>
Validate the announced header and its associated data.