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

    Class ChainSpec

    Additional data that has to be passed to the codec to correctly parse incoming bytes.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    contestLength: U32

    Length of the ticket contest in time slots.

    coresCount: U16

    Number of cores.

    epochLength: U32

    Length of the epoch in time slots.

    erasureCodedPieceSize: U32

    W_E: The basic size of erasure-coded pieces in octets. Computed from W_E = W_G / W_P.

    maxBlockGas: U64

    G_T: The total gas allocated across all Accumulation.

    maxLookupAnchorAge: U32

    L: The maximum age in timeslots of the lookup anchor.

    maxRefineGas: U64

    G_R: The gas allocated to invoke a work-package’s Refine logic.

    maxTicketsPerExtrinsic: U8

    The maximum number of tickets that can be included in a single block.

    name: string

    Human-readable name of the chain spec.

    numberECPiecesPerSegment: U32

    W_P: The number of erasure-coded pieces in a segment.

    preimageExpungePeriod: U32

    D: Period in timeslots after which an unreferenced preimage may be expunged.

    https://graypaper.fluffylabs.dev/#/9a08063/445800445800?v=0.6.6

    rotationPeriod: U16

    R: The rotation period of validator-core assignments, in timeslots.

    https://graypaper.fluffylabs.dev/#/5f542d7/417f00417f00

    slotDuration: U16

    Duration of a timeslot in seconds.

    thirdOfValidators: U16

    1/3 of number of validators

    ticketsPerValidator: U8

    The maximum number of tickets each validator can submit.

    validatorsCount: U16

    Number of validators.

    validatorsSuperMajority: U16

    2/3 of number of validators + 1

    Methods