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

Proposal implementation: Min window grace period #7504

Merged
merged 11 commits into from Feb 2, 2021

Conversation

imeckler
Copy link
Member

@imeckler imeckler commented Jan 15, 2021

This PR constitutes a proposal that we not take the min for min-window density during the initial days of the network. Specifically, it proposes we forgo updating the min density for the first 10 days (or epoch, whichever comes first) of the network's operation. The reasoning is as follows:

  • There may be many empty slots in the beginning of the network, as everyone
    gets their nodes up and running. 10 days gives all involved in the project
    a chance to observe the actual fill rate and try to fix what's keeping it down.
  • With actual network parameters, 1 epoch = 2 weeks < 10 days,
    which means the long fork rule will not come into play during the grace period,
    and then we still have 4 days (= 1920 slots) to compute min-density for the next epoch.

Testing

In addition to the unit tests which ensure the in-snark and out-of-snark versions agree, I ran a local network with this and observed the grace period working.

@imeckler imeckler requested a review from a team as a code owner January 15, 2021 15:38
@imeckler imeckler requested review from a team as code owners January 26, 2021 03:59
@imeckler imeckler added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Feb 1, 2021
@aneesharaines
Copy link
Contributor

!approved-for-mainnet

@imeckler imeckler merged commit ebcc0a1 into develop Feb 2, 2021
@imeckler imeckler deleted the min-window-grace-period branch February 2, 2021 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge-into-develop
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants