Skip to content

Move Blob operations from PendingBlocks to a Blob module #1128

@Arkenan

Description

@Arkenan

This should:

  1. Simplify pending blocks, making it more readable.
  2. Make the blob db more testable.

This PR should come with more unit tests.

Some example functions for the Blobs module would be:

  • Blob.present? if a blob is downloaded
  • Blob.missing_for_block(block), which returns blob identifiers that are missing for a single block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersrefactorIdeas to improve code usability or performance with little or no change to behavior

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions