Expand description
Primitive types which are strictly necessary from a parachain-execution point of view.
Structs§
- Block
Data - Parachain block data.
- Head
Data - Parachain head data included in the chain.
- Hrmp
Channel Id - A type that uniquely identifies an HRMP channel. An HRMP channel is established between two
paras. In text, we use the notation
(A, B)
to specify a channel between A and B. The channels are unidirectional, meaning that(A, B)
and(B, A)
refer to different channels. The convention is that we use the first item tuple for the sender and the second for the recipient. Only one channel is allowed between two participants in one direction, i.e. there cannot be 2 different channels identified by(A, B)
. A channel with the same para id in sender and recipient is invalid. That is, however, not enforced. - Id
- Unique identifier of a parachain.
- Sibling
- Validation
Code - Parachain validation code.
- Validation
Code Hash - Unit type wrapper around [
type@Hash
] that represents the blake2-256 hash of validation code in particular. - Validation
Params - Validation parameters for evaluating the parachain validity function.
- Validation
Result - The result of parachain validation.
Enums§
- Xcmp
Message Format - The aggregate XCMP message format.
Constants§
- LOWEST_
PUBLIC_ ID - The ID of the first publicly registrable parachain.
- MAX_
HORIZONTAL_ MESSAGE_ NUM - Maximum number of HRMP messages allowed per candidate.
- MAX_
UPWARD_ MESSAGE_ NUM - Maximum number of UMP messages allowed per candidate.
Traits§
- DmpMessage
Handler - Something that should be called when a downward message is received.
- IsSystem
- Determine if a parachain is a system parachain or not.
- Xcmp
Message Handler - Something that should be called for each batch of messages received over XCMP.
Type Aliases§
- Horizontal
Messages - Relay
Chain Block Number - Block number type used by the relay chain. The block number type used by Polkadot. 32-bits will allow for 136 years of blocks assuming 1 block per second.
- Upward
Message - A message from a parachain to its Relay Chain.
- Upward
Messages