sp_runtime::traits

Trait BlindCheckable

source
pub trait BlindCheckable: Sized {
    type Checked;

    // Required method
    fn check(self) -> Result<Self::Checked, TransactionValidityError>;
}
Expand description

A “checkable” piece of information, used by the standard Substrate Executive in order to check the validity of a piece of extrinsic information, usually by verifying the signature. Implement for pieces of information that don’t require additional context in order to be checked.

Required Associated Types§

source

type Checked

Returned if check succeeds.

Required Methods§

source

fn check(self) -> Result<Self::Checked, TransactionValidityError>

Check self.

Object Safety§

This trait is not object safe.

Implementors§