-
Notifications
You must be signed in to change notification settings - Fork 7
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
Why ec delay multiplier must be non-zero? #783
Comments
If that's zero, Line 346 in 9c8c852
Honestly, I think 1 is the sane minimum in general. Unless I'm missing something. |
This ticket was captured as part of running a passive testing that was attempting to minimise the wait time between instances. Specifically to get My question remains: Why In terms of importance, maybe this does not matter anymore. Or at least it will not matter once transport is made more efficient such that the actual delta is a value closer to the default of 3 seconds. |
If we are in a caught-up regime, if ECDelay is zero, we will start a new instance before new tipsets become available. Plus, base decision behaviour depends on ECDelay being non-zero. |
Why? Headlookback should avoid this already? |
It doesn't headlookback just compensates from headlookback, not for tipsets that get created during the instance. |
Right, but we take the max of 0 and len-headlookback when collecting chain. If we are too close to the head then, would that not end up delaying the instance anyway? i.e. collecting base as the chain which would eventually back off from the start of next instance? |
It will be missing one or two epochs, I think two. |
It is unclear why this condition exists. Looking at the code, zero can also be a valid value. No?
go-f3/manifest/manifest.go
Line 172 in d4f080d
The text was updated successfully, but these errors were encountered: