referrerpolicy=no-referrer-when-downgrade

Module slashing

Source
Expand description

Primitives types used for dispute slashing.

Structs§

DisputeProof
We store most of the information about a lost dispute on chain. This struct is required to identify and verify it.
DisputesTimeSlot
Timeslots should uniquely identify offences and are used for the offence deduplication.
OpaqueKeyOwnershipProof
An opaque type used to represent the key ownership proof at the runtime API boundary. The inner value is an encoded representation of the actual key ownership proof which will be parameterized when defining the runtime. At the runtime API boundary this type is unknown and as such we keep this opaque representation, implementors of the runtime API will have to make sure that all usages of OpaqueKeyOwnershipProof refer to the same type.
PendingSlashes
Slashes that are waiting to be applied once we have validator key identification.

Enums§

SlashingOffenceKind
The kind of the slashing offence (those come from disputes).