Typeberry by Fluffy Labs - v0.5.6
    Preparing search index...

    Module block

    Block structures and types for JAM protocol.

    This module provides the core block data structures used in the JAM protocol, including block headers, bodies, and related types.

    Enumerations

    WorkExecResultKind

    Classes

    AvailabilityAssurance
    Block
    Credential
    Culprit
    DisputesExtrinsic
    EpochMarker
    Extrinsic
    Fault
    ImportSpec
    Judgement
    Preimage
    RefineContext
    ReportGuarantee
    SignedTicket
    Ticket
    TicketsMarker
    ValidatorKeys
    Verdict
    WorkExecResult
    WorkItem
    WorkItemExtrinsicSpec
    WorkPackage
    WorkPackageInfo
    WorkPackageSpec
    WorkRefineLoad
    WorkReport
    WorkResult

    Type Aliases

    AssurancesExtrinsic
    AssurancesExtrinsicView
    AuthorizerHash
    BeefyHash
    BlockView
    CodecHashDictionaryOptions
    CodeHash
    CoreIndex
    EntropyHash
    Epoch
    EpochMarkerView
    ExportsRootHash
    ExtrinsicHash
    ExtrinsicView
    GuaranteesExtrinsic
    GuaranteesExtrinsicView
    HeaderHash
    HeaderView
    PerEpochBlock
    PerValidator
    PreimageHash
    PreimagesExtrinsic
    REQUIRED_CREDENTIALS
    Segment
    SEGMENT_BYTES
    SegmentIndex
    ServiceGas
    ServiceId
    StateRootHash
    TicketAttempt
    TicketsExtrinsic
    TicketsMarkerView
    TimeSlot
    ValidatorIndex
    WorkItemExtrinsic
    WorkItemsCount
    WorkPackageExtrinsics
    WorkPackageHash
    WorkPackageView
    WorkReportHash

    Variables

    assurancesExtrinsicCodec
    GuaranteesExtrinsicBounds
    guaranteesExtrinsicCodec
    headerViewWithHashCodec
    MAX_NUMBER_OF_SEGMENTS
    MAX_NUMBER_OF_WORK_ITEMS
    MIN_NUMBER_OF_WORK_ITEMS
    preimagesExtrinsicCodec
    REQUIRED_CREDENTIALS_RANGE
    SEGMENT_BYTES
    ticketsExtrinsicCodec
    W_E
    W_S

    Functions

    codecFixedSizeArray
    codecHashDictionary
    codecKnownSizeArray
    codecPerEpochBlock
    codecPerValidator
    codecWithContext
    emptyBlock
    encodeUnsealedHeader
    isWorkItemsCount
    reencodeAsView
    tryAsCoreIndex
    tryAsEpoch
    tryAsPerEpochBlock
    tryAsPerValidator
    tryAsSegmentIndex
    tryAsServiceGas
    tryAsServiceId
    tryAsTicketAttempt
    tryAsTimeSlot
    tryAsValidatorIndex
    tryAsWorkItemsCount
    workItemExtrinsicsCodec