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

    Class InMemorySerializedStates

    In-memory serialized-states db.

    Implements

    Index

    Methods

    • Notify the backend about newly finalized blocks, in ancestor-first order.

      Backends that share data between states (e.g. a content-addressed values DB) use this to move the blocks' references from speculative to finalized. MUST be called before markUnused of the same finality round, otherwise the newly finalized blocks would be treated as dead forks and values still referenced by the finalized state could be dropped.

      Parameters

      Returns void