Crate polkadot_node_subsystem_types

source ·
Expand description

Subsystem trait definitions and message types.

Node-side logic for Polkadot is mostly comprised of Subsystems, which are discrete components that communicate via message-passing. They are coordinated by an overseer, provided by a separate crate.

Re-exports§

Modules§

  • Error types for the subsystem requests.
  • Message types for the overseer and subsystems.

Structs§

Enums§

  • Stateful convenience wrapper around mick_jaeger.
  • A description of an error during jaeger initialization.
  • Signals sent by an overseer to a subsystem.
  • A wrapper type for a span.
  • A helper to annotate the stage with a numerical value to ease the life of the tooling team creating viable statistical metrics for which stage of the inclusion pipeline drops a significant amount of candidates, statistically speaking.

Traits§

Functions§

Type Aliases§

  • Block type.
  • The block number type used by Polkadot. 32-bits will allow for 136 years of blocks assuming 1 block per second.
  • A hash of some data used by the relay chain.
  • Keeps the state of a specific block pinned in memory while the handle is alive.