space-meridian / roadmap

High-level roadmap for Filecoin Station
https://starmap.site/roadmap/github.com/space-meridian/roadmap/issues/1
0 stars 0 forks source link

Real-time view of all storage deals (including DDO) #144

Open bajtos opened 3 months ago

bajtos commented 3 months ago

eta: 2024-09-30

We currently have a manual process to process StateMarketDeals, extract deals that are expected to be retrievable, and update Spark's database. This process does not support recently introduced DirectDataOnboarding deals (see FIP 76).

Let's implement a new solution that will observe actor events (see FIP 83) and update Spark's database of retrievable deals in real-time.

Resources:

We need at least the following data for each deal:

To link deals to allocators, we need to maintain the list of client<->allocator links by listening to on-chain actor events emitted by the AddVerifiedClient method. We should build this component as part of this task.

Subtasks

bajtos commented 1 month ago

Deals can be extended, see e.g. here: