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§
- Consumed
Streams - Everything the inherent provider should fetch, and from which position on, as returned by
consumed_streams(). Field-for-field the shape ofMessagingInherentData. - Lossy
Read - 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.
- Messaging
Inherent Data - The messaging inherent: this block’s consumption, keyed by the typed consumer-side IDs.
Constants§
- INHERENT_
IDENTIFIER - Key of the messaging inherent in
InherentData.