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

    Interface ValueRefsReader

    Synchronous, read-only view of the persisted refcounting state.

    fjall offers synchronous reads, so reads can go straight to the backing store. All writes go through ValueRefsUpdate batches instead, since persistent backends can only write asynchronously (fjall inserts + persist).

    interface ValueRefsReader {
        getDelta(
            header: OpaqueHash & WithOpaque<"HeaderHash">,
        ): ValueDelta | undefined;
        getFinalizedCount(hash: OpaqueHash & WithOpaque<"trieValue">): number;
        getPendingCount(hash: OpaqueHash & WithOpaque<"trieValue">): number;
    }

    Implemented by

    Index

    Methods