BlockSignatureExt

Trait BlockSignatureExt 

Source
pub trait BlockSignatureExt {
    // Required method
    fn check_signatures<'a, I>(
        &self,
        list: I,
        data: &[u8],
    ) -> Result<u64, Error>
       where I: IntoIterator<Item = &'a ValidatorDescription, IntoIter: ExactSizeIterator>;
}
Expand description

Signature verification utils.

Required Methods§

Source

fn check_signatures<'a, I>(&self, list: I, data: &[u8]) -> Result<u64, Error>
where I: IntoIterator<Item = &'a ValidatorDescription, IntoIter: ExactSizeIterator>,

Verifies signatures for the specified data and the provided list of nodes.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§