Trait polkadot_primitives::v0::ActiveParas[][src]

pub trait ActiveParas {
    fn active_paras() -> Vec<(Id, Option<(CollatorId, Retriable)>)>;
}
Expand description

Type determining the active set of parachains in current block.

Required methods

Return the active set of parachains in current block. This attempts to keep any IDs in the same place between sequential blocks. It is therefore unordered. The second item in the tuple is the required collator ID, if any. If Some, then it is invalid to include any other collator’s block.

NOTE: The initial implementation simply concatenates the (ordered) set of (permanent) parachain IDs with the (unordered) set of parathread IDs selected for this block.

Implementors