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:
- The hot network does not need such a delegation so Spade needs to somehow distinguish between hot/forge.
- 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.
Alter Spade to obtain, cache and renew
blob/retrievedelegations 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/retrievedelegations (viaaccess/grantinvocations) for all storage providers that have data for aggregates that are not yet in Filecoin.Note:
GET /sp/piece_manifestis requested, invocations can be provided in HTTP headers that will not expire for a while, giving the SP time to dowload the data.