Function gclient::ext::sp_runtime::verify_encoded_lazy

pub fn verify_encoded_lazy<V, T>(
    sig: &V,
    item: &T,
    signer: &<<V as Verify>::Signer as IdentifyAccount>::AccountId,
) -> bool
where V: Verify, T: Encode,
Expand description

Verify a signature on an encoded value in a lazy manner. This can be an optimization if the signature scheme has an “unsigned” escape hash.