referrerpolicy=no-referrer-when-downgrade

Module inherent

Module inherent 

Source
Expand description

The node/runtime consumption interface: what the runtime asks the node to fetch (ConsumedStreams, via the consumed_streams() runtime API) and what the node delivers in the messaging inherent (MessagingInherentData and LossyRead).

Both sides are keyed by the consumer-side typed IDs (InChannelId, OutChannelId, BroadcastId), one map per stream kind, so kind/discipline mismatches and duplicate entries for the same stream are unrepresentable.

The inherent carries payloads and placement hints (LossyRead::frontier). No roots, no proofs. The runtime verifies by recomputation: hash payloads into leaves, append to the frontier, and record the interval for the candidate’s lift to bind.

Structs§

ConsumedStreams
Everything the inherent provider should fetch, and from which position on, as returned by consumed_streams(). Field-for-field the shape of MessagingInherentData.
LossyRead
Lossy consumption item (register or event read): carries the stream’s frontier just before its first payload, standing in for the frontier a lossy consumer does not store.
MessagingInherentData
The messaging inherent: this block’s consumption, keyed by the typed consumer-side IDs.

Constants§

INHERENT_IDENTIFIER
Key of the messaging inherent in InherentData.

Type Aliases§

Payload