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

Election soundness due to time manipulation #5011

Open
mversic opened this issue Aug 26, 2024 · 0 comments
Open

Election soundness due to time manipulation #5011

mversic opened this issue Aug 26, 2024 · 0 comments

Comments

@mversic
Copy link
Contributor

mversic commented Aug 26, 2024

          As with the current proposed change 31872905167c5205f92a670af6a5b2f2ae1e1626, a buffer should be introduced only for the upper bound. If introduced for the lower bound, timestamps cannot be guaranteed to monotonically increase.

My slight concern is, if the buffer for the upper bound is too large compared to the block period, it might damage the soundness of the election:
As an extreme example, suppose that a leader with an outstandingly advanced system time created a block in the previous round, and most validators barely approved the block thanks to the large buffer. In this case, other leaders in the current round might not be able to create timestamps that meet the lower bound, which means view changes will be repeated until the same amount of time as the buffer has elapsed or the same leader as in the previous round is elected

Originally posted by @s8sato in #4928 (comment)

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