referrerpolicy=no-referrer-when-downgrade

Module stream

Module stream 

Source
Expand description

StreamId: the parachain-structured stream key.

Each stream a chain maintains is one MMR keyed by a StreamId. The relay chain never sees an id; only the StreamsRoot reaches it. Ids live in tree paths, proofs and networking. The full stream key is (sender ParaId, StreamId), with the sender implicit in its own candidate.

§Tree key (consensus-critical, frozen)

StreamId::to_bytes is the commitment-tree key. It is big-endian, so Ord equals the key’s byte order: kinds cluster and sequential ids are neighbours.

Structs§

PrivateKind
A private-use kind byte.

Enums§

StreamId
A parachain-structured stream key.

Constants§

STREAM_ID_LEN