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

Use seal-duration in calculating the earliest StartEpoch #4337

Merged

Conversation

ingar
Copy link
Contributor

@ingar ingar commented Oct 12, 2020

Problem

A basic filter was added that would reject storage deals that were more than 7 days in the future from the current chain head, but didn't take into consideration the seal duration configured by the miner.

Solution

Use the seal duration + 7 days as the first cut rejection criteria.

Addresses https://github.com/filecoin-project/lotus/pull/4173/files#r503249607

@schomatis schomatis merged commit 49155ac into master Oct 12, 2020
@schomatis schomatis deleted the fix/use-seal-duration-when-calculating-earliest-start-epoch branch October 12, 2020 20:45
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

Successfully merging this pull request may close these issues.

2 participants