jam_types::types

Type Alias WorkPackage

Source
pub type WorkPackage = GenericWorkPackage<ExtrinsicSpec>;

Aliased Type§

struct WorkPackage {
    pub authorization: Authorization,
    pub auth_code_host: u32,
    pub authorizer: Authorizer,
    pub context: RefineContext,
    pub items: BoundedVec<GenericWorkItem<ExtrinsicSpec>, ConstU32<4>>,
}

Fields§

§authorization: Authorization

Authorization token.

§auth_code_host: u32

Service identifier.

§authorizer: Authorizer

Authorizer.

§context: RefineContext

Refinement context.

§items: BoundedVec<GenericWorkItem<ExtrinsicSpec>, ConstU32<4>>

Sequence of work items.