-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Market Data API for direct data onboarding #11173
Comments
the market address could be null too. might worth showing if the data has associated datacap as well? |
Should we show data availability time too? i.e: when its stated to be stored , and till when? (i assume that would could just be the sector lifetime? |
There are three pieces of data that will become independent, but are currently coupled.
A data piece might be accompanied by none, either, or both the other two. In the future, there will also be
...though Lotus shouldn't be expected to interpret state of user-programmed actors, merely provide generic access to it.
As written, this deliverable must be rooted in the raw piece information, though you should think carefully whether this is the right deliverable to ask for. Piece commitments will not generally be available in chain state, only in the message history. Thus to provide this information, Lotus needs to index the piece commitments as they appear in the new ProveCommit2/ProveReplicaUpdate3 messages to be developed. For sectors that are onboarded via the legacy methods, the piece commitments are present in the corresponding built-in market deal state (until those deals expire, which is independent of the sector expiration). Given a piece CID/size, Lotus could then index both the market deal state and verified registry claims by piece+sector in order to associate that related information, if it exists. It's worth noting that a more restricted deliverable would be much easier to support. If scope were limited to insight into only verified pieces, or only deals, then indexing message history would be unnecessary, and the relevant information would all be available in chain state. |
okay.. the more I think about this the more I believe lotus is not the right place to provide a piece <> sector indexing, I would imagine this to be something covered along with the other data dumps lily has https://lilium.sh/data/dumps/ Spec-Ed out in |
Superceeded by #11614 |
User Story
People want visibility into how data and deals are being stored on filecoin. We want an API to provide information about direct fil+ deals.
Direct FIL+ is a label for changes to the Filecoin built-in actors, and the components that interact with them, to enable gas-cheap data onboarding, including Filecoin Plus. The built-in storage market actor is bypassed, and the verified registry’s on-chain allocation/claim record suffices to represent a simple “deal”. Direct data onboarding can’t handle client payments (yet), but most deals today have no on-chain payment anyway.
After the initial Direct FIL+ changes, subsequent, smaller changes will be possible to support scalable FIL+ allocations (single transaction covering multiple sectors) and flexibility for other kinds of data applications.
for more see direct data onboarding notion doc https://www.notion.so/pl-strflt/Direct-FIL-impacts-work-outline-57399e0fdfd242d09aabad7357945798
Acceptance Criteria
Deliverables
Technical Breakdown
Development
Testing
The text was updated successfully, but these errors were encountered: