Trait sp_runtime::traits::Checkable[][src]

pub trait Checkable<Context>: Sized {
    type Checked;
    fn check(
        c: &Context
    ) -> 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 require some additional context Context in order to be checked.

Associated Types

Returned if check succeeds.

Required methods

Check self, given an instance of Context.