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 (ConsumedStream, via the consumed_streams() runtime API) and what the node delivers in the messaging inherent (MessagingInherentData / ConsumeItem).

The inherent carries payloads and placement hints. No roots, no proofs. The runtime verifies by recomputation: hash payloads into leaves, append to a frontier, let the candidate’s lift bind the endpoint. A wrong payload, base or peak set yields an endpoint no lift can bind.

Structs§

MessagingInherentData
The messaging inherent: this block’s consumption, per (source, stream). A block that consumed nothing carries none.

Enums§

ConsumeItem
One stream’s consumption this block. Both arms verify the same way (hash payloads into leaves, append to a frontier, let the lift bind the endpoint) and differ only in where the frontier comes from.
ConsumedStream
One stream the runtime wants fetched, per source, as returned by consumed_streams(). from is the fetch cursor: positions >= from are wanted. Suspended channels are omitted, which is how collators learn to stop fetching.

Constants§

INHERENT_IDENTIFIER
Key of the messaging inherent in InherentData.

Type Aliases§

Payload