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

Update SP data model with a "relationship" between minerIds #13

Open
BigLep opened this issue Dec 6, 2024 · 1 comment
Open

Update SP data model with a "relationship" between minerIds #13

BigLep opened this issue Dec 6, 2024 · 1 comment

Comments

@BigLep
Copy link
Member

BigLep commented Dec 6, 2024

What

The dashboard today is minerId (SP instance in Filecoin protocol) focused. In reality, we know that SP operations (whether individuals, entities, etc.) are often composed of multiple minerIds. Ideally in the data model we'd have this relationship so it would be possible to bring up the performance an "SP entity/operation", looking at an aggregate view across multiple related minerIds.

Why

This came up in https://protocollabs.notion.site/2024-12-03-Client-Success-Meeting-150837df73d4801eb9cae595e2ea1d7c?pvs=4 . It's relevant from a market perspective given onramps/aggregators care about making deals with an actual "SP entity/operation" rather than a specific minerId.

How

I (@BigLep) don't know the way to accomplish this. There is no mapping on chain of minerId to peerId. Maybe we can look at the origin address of WindowPoSt messages and aggregate that way? (I assume that is still an approximation, but likely gets decently close.). I also assume other thought has been given to this in the past.

Other Notes

  1. Maybe this belongs in https://github.com/davidgasquez/filecoin-data-portal and this issue just become about rendering that relationship?
@davidgasquez
Copy link
Collaborator

This is an interesting question @BigLep! In the past, I've used some manually curated lists mapping provider_ids to "Entities" but that doesn't scale. Also, some entities want to remain private.

There have been many approaches to this problem, not sure if your idea has been explored though! The approach I'm using is to rely on the Filecoin's scores provided by Nova Energy (API). That only covers a handful of providers for some Entities since they have to apply and get reviewed.

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

No branches or pull requests

2 participants