-
Notifications
You must be signed in to change notification settings - Fork 12
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: Snap Deals #52
feat: Snap Deals #52
Conversation
41bcbeb
to
647cc99
Compare
15f935b
to
1a025aa
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.
I did the first pass and major change I would recommend is proposal to Manifest conversion. I think we should do that in the last step and keep the metadata before that. Some important metadata like dealID and if deal is verified are hard to find otherwise.
Can you describe, maybe in a godoc:
|
89e8ab9
to
984e092
Compare
This was missing, now is decided by the config
Those two are the same as normal deal ingest |
f3161d6
to
10ecd79
Compare
Tested on my setup, appears to work well. |
|
||
shouldSeal := func(sector *openSector) bool { | ||
// Start sealing a sector if | ||
// 1. If sector is full |
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.
in what documentation is this reflected?
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.
iiuc docs for snap will be written soon
continue | ||
} | ||
|
||
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// TODO ADD SNAP SECTOR EXP CHECKS |
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.
tracking bug for this 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.
@@ -66,6 +66,8 @@ func (l *LMRPCProvider) WorkerJobs(ctx context.Context) (map[uuid.UUID][]storifa | |||
} | |||
|
|||
func (l *LMRPCProvider) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (lapi.SectorInfo, error) { | |||
// TODO: Add snap, Add open_sector_pieces |
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.
tracking bug?
No description provided.