Skip to content

Integrate Piece Directory into booster-bitswap #893

@dirkmc

Description

@dirkmc

booster-bitswap needs to make two calls to the underlying blockstore implementation:

  • GetSize to get the size of the block (and check if the blockstore has the block)
  • Get to get the block data

At the moment these calls go from booster-bitswap to boostd to the sealing subsystem.

We should update booster-bitswap to

  • Call the Piece Directory to get the block's size and offset (using the Piece Directory Client)
  • Fetch the block data directly from the sealing subsystem (instead of going through boostd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions