Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks
bajtos opened this issue Jul 26, 2024 · 1 comment
Open
5 tasks

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

bajtos opened this issue Jul 26, 2024 · 1 comment

Comments

@bajtos
Copy link
Contributor

bajtos commented Jul 26, 2024

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:

  • miner_id
  • client_id
  • piece_cid
  • piece_size

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 bajtos changed the title Real-time view of all Filecoin deals (including DDO) Real-time view of all storage deals (including DDO) Jul 26, 2024
@patrickwoodhead patrickwoodhead mentioned this issue Sep 3, 2024
22 tasks
@bajtos
Copy link
Contributor Author

bajtos commented Sep 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant