Crate cumulus_primitives_core
source ·Expand description
Cumulus related core primitive types and traits.
Modules
- A module that re-exports relevant relay chain definitions.
Structs
- Abridged version of
HostConfiguration
(from theConfiguration
parachains host runtime module) meant to be used by a parachain or PDK such as cumulus. - Abridged version of
HrmpChannel
(from theHrmp
parachains host runtime module) meant to be used by a parachain or PDK such as cumulus. - Information about an XCMP channel.
- Information about a collation.
- Information about a collation.
- A wrapped version of
DownwardMessage
. The difference is that it has attached the block number when the message was sent. - Unique identifier of a parachain.
- The parachain block that is created by a collator.
- The validation data provides information about how to create the inputs for validation of a candidate. This information is derived from the chain state and will vary from para to para, although some fields may be the same for every para.
- Validation parameters for evaluating the parachain validity function.
Enums
- The status of a channel.
- Error description of a message send failure.
- The “quality of service” considerations for message sending.
- The aggregate XCMP message format.
Traits
- Runtime api to collect information about a collation.
- Something that should be called when a downward message is received.
- Determine if a parachain is a system parachain or not.
- Something that should be called when sending an upward message.
- Something that should be called for each batch of messages received over XCMP.
- A means of figuring out what outbound XCMP messages should be being sent.
Type Definitions
- An inbound HRMP message.
- And outbound HRMP message
- A message from a parachain to its Relay Chain.