Expand description

Utility module for subsystems

Many subsystems have common interests such as canceling a bunch of spawned jobs, or determining what their validator ID is. These common interests are factored into this module.

This crate also reexports Prometheus metric types which are expected to be implemented by subsystems.

Re-exports

Modules

  • A utility for managing the implicit view of the relay-chain derived from active leaves and the minimum allowed relay-parents that parachain candidates can have and be backed in those leaves’ children.
  • Database trait for subsystem. Database trait for polkadot db.
  • An emulator for node-side code to predict the results of on-chain parachain inclusion and predict future constraints.
  • This module reexports Prometheus types and defines the Metrics trait.
  • Nested message sending
  • These reexports are required so that external crates can use the delegated_subsystem macro properly.
  • A utility abstraction to collect and send reputation changes.
  • Convenient and efficient runtime info access. Convenient interface to runtime information.

Structs

  • Create a stream of ticks with a defined cycle duration.
  • A future that wraps another future with a Delay allowing for time-limited futures.
  • Local validator information

Enums

Constants

Traits

Functions

Type Definitions