Skip to content

CachedStorage doesn't cache sequences, only digests #501

Description

@yacovm

The CachedStorage has a cache by digest. However we sometimes need to access it without knowing the exact digest of the block.

The current implementation simply naively searches in the storage if the expected digest isn't known.

We should additionally cache by sequence and return the blocks by sequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions