-
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
feat: sealing: Partially sealed sector import #9210
Conversation
44cbb16
to
dc99efe
Compare
376614e
to
07340f7
Compare
// Required in PreCommitting and later | ||
TicketValue abi.SealRandomness | ||
TicketEpoch abi.ChainEpoch | ||
PreCommit1Out storiface.PreCommit1Out // todo specify better |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
394072a
to
bcaa395
Compare
// todo spec better | ||
Commit1Out storiface.Commit1Out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e70ba2c
to
d4c2d14
Compare
d4c2d14
to
60f8533
Compare
efc1332
to
6b663d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few small comments. Excited for this to land!
c8de9d4
to
859c260
Compare
Related Issues
Implements #9012
With input from #9079
On top of #9183
Some non-api-breaking type improvements in #9300; Not having those shouldn't be blocking for this PR
Proposed Changes
Add a new
SectorReceive
API method for importing sectors in a bunch of different states, optionally fetching remote sector data. Adds optional 'hooks' to sector metadata, making lotus call external APIs for Commit1 / on state transitions / after sealing is done. Details TBD as #9079 and this implementation progresses.1.1. Remote sector metadata can include urls to sector files
Additional Info
This is very work in progress. Will take a while to finish, test, and review this, but I'm opening this PR early for visibility.
Code in this PR isn't usable in its current form, and likely won't be until the implementation is mostly done a few days / weeks from now.
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, testarea
: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps