Expand description
Channel state primitives: the key and the two per-direction states the messaging
pallet keeps in OutChannels / InChannels and returns from the runtime API’s out_channels()
/ in_channels().
State shapes, not wire types. The channel protocol (the in-band crate::SpecMsgSignals and
the out-of-band Register) is in crate::flow_control; the logic is the pallet’s.
Structs§
- Channel
Id - Channel discriminator.
- InChannel
State - Receiver side, per inbound channel.
- OutChannel
State - Sender side, per outbound channel.
- Register
Read - A register as read: the peer’s latest
Registerand its position on the peer’sAckstream. Kept together so no register can be stored without its position.
Enums§
- Channel
Phase - A channel’s phase, derived from
OutChannelState. Not stored.