Trait gclient::ext::sp_core::crypto::VrfPublic

pub trait VrfPublic: VrfCrypto {
    // Required method
    fn vrf_verify(
        &self,
        data: &Self::VrfSignData,
        signature: &Self::VrfSignature,
    ) -> bool;
}
Expand description

VRF Public Key.

Required Methods§

fn vrf_verify( &self, data: &Self::VrfSignData, signature: &Self::VrfSignature, ) -> bool

Verify input data signature.

Implementors§