Crate sp_consensus_subspace

source ·
Expand description

Primitives for Subspace consensus.

Modules§

  • Consensus-related runtime interface
  • Private implementation details of Subspace consensus digests.
  • Inherents for Subspace consensus
  • Common traits and types that are useful for describing offences for usage in environments that use subspace consensus.

Structs§

Enums§

Traits§

  • API necessary for block authorship with Subspace.

Functions§

  • Verifies the equivocation proof by making sure that: both headers have different hashes, are targeting the same slot, and have valid signatures by the same authority.

Type Aliases§

  • An equivocation proof for multiple block authorships on the same slot (i.e. double vote).
  • A Subspace farmer identifier. Necessarily equivalent to the schnorrkel public key used in the main Subspace module. If that ever changes, then this must, too.
  • A Subspace farmer signature.