Module cumulus_primitives_core::relay_chain::v8::slashing

source ·
Expand description

Primitives types used for dispute slashing.

Structs§

  • We store most of the information about a lost dispute on chain. This struct is required to identify and verify it.
  • Timeslots should uniquely identify offences and are used for the offence deduplication.
  • 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.
  • Slashes that are waiting to be applied once we have validator key identification.

Enums§