Crate polkadot_node_subsystem_types

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§

pub use polkadot_node_jaeger as jaeger;

Modules§

errors
Error types for the subsystem requests.
messages
Message types for the overseer and subsystems.

Structs§

ActivatedLeaf
Activated leaf.
ActiveLeavesUpdate
Changes in the set of active leaves: the parachain heads which we care to work on.
DefaultSubsystemClient
Default implementation of RuntimeApiSubsystemClient using the client.
JaegerConfig
Configuration for the jaeger tracing.
JaegerConfigBuilder
Jaeger configuration builder.
PerLeafSpan
A special “per leaf span”.

Enums§

Jaeger
Stateful convenience wrapper around mick_jaeger.
JaegerError
A description of an error during jaeger initialization.
OverseerSignal
Signals sent by an overseer to a subsystem.
Span
A wrapper type for a span.
Stage
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§

ChainApiBackend
Offers header utilities.
RuntimeApiSubsystemClient
Exposes all runtime calls that are used by the runtime API subsystem.

Functions§

hash_to_trace_identifier
A helper to convert the hash to the fixed size representation needed for jaeger.

Type Aliases§

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