θ 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
ϑ theta: We also maintain knowledge of ready (i.e. available
and/or audited) but not-yet-accumulated work-reports in
the state item ϑ.
α alpha: Authorizers available for each core (authorizer pool).
φ phi: A queue of authorizers for each core used to fill up the pool.
Only updated by accumulate calls using assign host call.
ρ 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.
κ 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 ι.
ι iota: The validator keys and metadata to be drawn from next.
ψ psi: Judgements
η eta: An on-chain entropy pool is retained in η.
γ_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.
γₖ gamma_k: The keys for the validators of the next epoch, equivalent to those keys which constitute γ_z .
λ 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 ι.
χ 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
β beta: State of the blocks from recent history.
ξ 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.
γₛ 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.
π pi: Previous and current statistics of each validator,
cores statistics and services statistics.
https://graypaper.fluffylabs.dev/#/68eaa1f/18f60118f601?v=0.6.4
τ tau: The current time slot.
Comparing the serialized states, just means comparing their backends.
Retrieve details about single service.
Returns recently active ServiceIds.
NOTE we don't define exactly what 'recent' means on purpose. This method only exists to satisfy requirements of RPC services method.
Return a non-decoding version of the state.
StaticfromCreate a state-like object from collection of serialized entries.
StaticnewCreate a state-like object backed by some DB.
State object which reads it's entries from some backend.
It differs from
InMemoryStateby needing to serialize the keys before accessing them.NOTE: the object has no way of knowing if all of the required data is present in the backend layer, so it MAY fail during runtime.