Struct gekko::runtime::polkadot::extrinsics::babe::ReportEquivocationUnsigned [−][src]
pub struct ReportEquivocationUnsigned<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub equivocation_proof: A,
pub key_owner_proof: B,
}
Expand description
Report authority equivocation/misbehavior. This method will verify
Documentation (provided by the runtime metadata)
Report authority equivocation/misbehavior. This method will verify
the equivocation proof and validate the given key ownership proof
against the extracted offender. If both are valid, the offence will
be reported.
This extrinsic must be called unsigned and it is expected that only
block authors will call it (validated in ValidateUnsigned
), as such
if the block author is defined it will be defined as the equivocation
reporter.
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
equivocation_proof: A
Type description: EquivocationProof<T::Header>
key_owner_proof: B
Type description: T::KeyOwnerProof
Trait Implementations
impl<A: PartialEq, B: PartialEq> PartialEq<ReportEquivocationUnsigned<A, B>> for ReportEquivocationUnsigned<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A: PartialEq, B: PartialEq> PartialEq<ReportEquivocationUnsigned<A, B>> for ReportEquivocationUnsigned<A, B> where
A: Encode + Decode,
B: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A: Eq, B: Eq> Eq for ReportEquivocationUnsigned<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A, B> StructuralEq for ReportEquivocationUnsigned<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A, B> StructuralPartialEq for ReportEquivocationUnsigned<A, B> where
A: Encode + Decode,
B: Encode + Decode,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for ReportEquivocationUnsigned<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for ReportEquivocationUnsigned<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for ReportEquivocationUnsigned<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for ReportEquivocationUnsigned<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for ReportEquivocationUnsigned<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.