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§
Structs§
- Activated
Leaf - Activated leaf.
- Active
Leaves Update - Changes in the set of active leaves: the parachain heads which we care to work on.
- Default
Subsystem Client - Default implementation of
RuntimeApiSubsystemClientusing the client. - Jaeger
Config - Configuration for the jaeger tracing.
- Jaeger
Config Builder - Jaeger configuration builder.
- PerLeaf
Span - A special “per leaf span”.
Enums§
- Jaeger
- Stateful convenience wrapper around
mick_jaeger. - Jaeger
Error - A description of an error during jaeger initialization.
- Overseer
Signal - 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§
- Chain
ApiBackend - Offers header utilities.
- Runtime
ApiSubsystem Client - 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.
- Block
Number - 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.
- Unpin
Handle - Keeps the state of a specific block pinned in memory while the handle is alive.