[−][src]Trait sp_runtime::traits::Checkable
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
Loading content...Required methods
pub fn check(
self,
c: &Context
) -> Result<Self::Checked, TransactionValidityError>
[src]
self,
c: &Context
) -> Result<Self::Checked, TransactionValidityError>
Check self, given an instance of Context.
Implementors
impl<Address, AccountId, Call, Signature, Extra, Lookup> Checkable<Lookup> for UncheckedExtrinsic<Address, Call, Signature, Extra> where
Address: Member + MaybeDisplay,
Call: Encode + Member,
Signature: Member + Verify,
<Signature as Verify>::Signer: IdentifyAccount<AccountId = AccountId>,
Extra: SignedExtension<AccountId = AccountId>,
AccountId: Member + MaybeDisplay,
Lookup: Lookup<Source = Address, Target = AccountId>,
[src]
Address: Member + MaybeDisplay,
Call: Encode + Member,
Signature: Member + Verify,
<Signature as Verify>::Signer: IdentifyAccount<AccountId = AccountId>,
Extra: SignedExtension<AccountId = AccountId>,
AccountId: Member + MaybeDisplay,
Lookup: Lookup<Source = Address, Target = AccountId>,
type Checked = CheckedExtrinsic<AccountId, Call, Extra>
pub fn check(
self,
lookup: &Lookup
) -> Result<Self::Checked, TransactionValidityError>
[src]
self,
lookup: &Lookup
) -> Result<Self::Checked, TransactionValidityError>
impl<Call: Codec + Sync + Send, Context, Extra> Checkable<Context> for TestXt<Call, Extra>
[src]
type Checked = Self
pub fn check(
self,
_: &Context
) -> Result<Self::Checked, TransactionValidityError>
[src]
self,
_: &Context
) -> Result<Self::Checked, TransactionValidityError>