Replies: 2 comments 1 reply
-
its unlikely that the voting power would change > 1/3 in 3 weeks, however always a possibility and would halt the network if we don't have a way to handle it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
While explaining this issue to @walldiss, I realized a few things about skipping verification that will give us a definitive answer as to whether we need to keep forward sync or not.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We currently have the concept of
SoftFailure
inside go-header whereby we try to perform skipping verification on a non-adjacent header some distance into the future, and it could potentially fail verification (for celestia-node's case) if that header does not have 2/3 validator set overlap (even though, if applied adjacently, the header is valid).The question here is: should go-header handle for the case where a header can fail skipping verification but may pass if applied adjacently?
The alternative, if were not to handle for it, would be to remove the concept of a
SoftFailure
and just discard the header, re-requesting it when it's needed for syncing where it can be applied adjacently. In the context of our backwards sync design, this would remove the need for a pending cache in syncer.It would be good to nail down:
cc @cristaloleg @Wondertan
Beta Was this translation helpful? Give feedback.
All reactions