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

Clock skew handling #35

Open
vibhurajeev opened this issue Jul 23, 2024 · 0 comments
Open

Clock skew handling #35

vibhurajeev opened this issue Jul 23, 2024 · 0 comments

Comments

@vibhurajeev
Copy link
Contributor

In the countdown introduced in this commit, 7feb7ff, the calculation could be affected clock skew between the source providing the timestamp for block and the system clock where the code is being executed.

One proposed solution is to compare Date.now() with last block timestamp, so at max, the difference would be 20s.

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

No branches or pull requests

1 participant