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

    Class InMemoryState

    A special version of state, stored fully in-memory.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    accumulationOutputLog: SortedArray<AccumulationOutput>

    θ theta: Sequence of merkle mountain belts from recent accumulations with service that accumulated them.

    https://graypaper.fluffylabs.dev/#/7e6ff6a/3bad023bad02?v=0.6.7

    NOTE Maximum size of this array is unspecified in GP

    accumulationQueue: AccumulationQueue

    ϑ theta: We also maintain knowledge of ready (i.e. available and/or audited) but not-yet-accumulated work-reports in the state item ϑ.

    https://graypaper.fluffylabs.dev/#/5f542d7/165300165500

    authPools: PerCore<
        readonly (OpaqueHash & pvm.WithOpaque<"AuthorizerHash">)[] & pvm.WithOpaque<
            "At most 8",
        >,
    >

    α alpha: Authorizers available for each core (authorizer pool).

    https://graypaper-reader.netlify.app/#/6e1c0cd/102400102400

    φ phi: A queue of authorizers for each core used to fill up the pool.

    Only updated by accumulate calls using assign host call.

    https://graypaper-reader.netlify.app/#/6e1c0cd/102400102400

    availabilityAssignment: PerCore<AvailabilityAssignment | null>

    ρ rho: work-reports which have been reported but are not yet known to be available to a super-majority of validators, together with the time at which each was reported.

    https://graypaper.fluffylabs.dev/#/579bd12/135800135800

    currentValidatorData: PerValidator<ValidatorData>

    κ kappa: Validators, who are the set of economic actors uniquely privileged to help build and maintain the Jam chain, are identified within κ, archived in λ and enqueued from ι.

    https://graypaper.fluffylabs.dev/#/579bd12/080201080601

    designatedValidatorData: PerValidator<ValidatorData>

    ι iota: The validator keys and metadata to be drawn from next.

    disputesRecords: DisputesRecords
    entropy: FixedSizeArray<Blake2bHash & pvm.WithOpaque<"EntropyHash">, 4>

    η eta: An on-chain entropy pool is retained in η.

    https://graypaper.fluffylabs.dev/#/579bd12/080c01080d01

    epochRoot: Bytes<144> & pvm.WithOpaque<"BandersnatchRingRoot">

    γ_z gamma_z: The epoch’s root, a Bandersnatch ring root composed with the one Bandersnatch key of each of the next epoch’s validators, defined in γ_k.

    https://graypaper.fluffylabs.dev/#/5f542d7/0da8000db800

    nextValidatorData: PerValidator<ValidatorData>

    γₖ gamma_k: The keys for the validators of the next epoch, equivalent to those keys which constitute γ_z .

    previousValidatorData: PerValidator<ValidatorData>

    λ lambda: Validators, who are the set of economic actors uniquely privileged to help build and maintain the Jam chain, are identified within κ, archived in λ and enqueued from ι.

    https://graypaper.fluffylabs.dev/#/579bd12/080201080601

    privilegedServices: PrivilegedServices

    χ chi: Up to three services may be recognized as privileged. The portion of state in which this is held is denoted χ and has three service index components together with a gas limit.

    https://graypaper.fluffylabs.dev/#/85129da/116f01117201?v=0.6.3

    recentBlocks: RecentBlocks

    β beta: State of the blocks from recent history.

    https://graypaper.fluffylabs.dev/#/579bd12/0fb7010fb701

    recentlyAccumulated: RecentlyAccumulated

    ξ xi: In order to know which work-packages have been accumulated already, we maintain a history of what has been accumulated. This history, ξ, is sufficiently large for an epoch worth of work-reports.

    https://graypaper.fluffylabs.dev/#/5f542d7/161a00161d00

    sealingKeySeries: SafroleSealingKeys

    γₛ gamma_s: γs is the current epoch’s slot-sealer series, which is either a full complement of E tickets or, in the case of a fallback mode, a series of E Bandersnatch keys.

    https://graypaper.fluffylabs.dev/#/5f542d7/0dc6000dc800

    services: Map<
        number & WithBytesRepresentation<4> & pvm.WithOpaque<"ServiceId[u32]">,
        InMemoryService,
    >
    statistics: StatisticsData

    π pi: Previous and current statistics of each validator, cores statistics and services statistics.

    https://graypaper.fluffylabs.dev/#/68eaa1f/18f60118f601?v=0.6.4

    ticketsAccumulator: readonly Ticket[] & pvm.WithOpaque<"0...EpochLength">
    timeslot: number & WithBytesRepresentation<4> & pvm.WithOpaque<"TimeSlot[u32]">

    Methods