Skip to content

Obtain, cache and renew blob/retrieve delegations #16

@alanshaw

Description

@alanshaw

Alter Spade to obtain, cache and renew blob/retrieve delegations for all storage providers that hold data for aggregates that are not yet in on-chain deals.

Relates to #15 - either as it is resolving pieces to blobs or afterwards, Spade need to obtain delegations that allow it to pull data from the Forge network. Spade needs to obtain blob/retrieve delegations (via access/grant invocations) for all storage providers that have data for aggregates that are not yet in Filecoin.

Note:

  1. The hot network does not need such a delegation so Spade needs to somehow distinguish between hot/forge.
  2. The delegations may expire before data is onboarded to Filecoin - Spade should keep delegations fresh by automatically re-requesting (close to) expired delegations so that when GET /sp/piece_manifest is requested, invocations can be provided in HTTP headers that will not expire for a while, giving the SP time to dowload the data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions