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

Expose basic notion of wall clock time in Trantor #487

Open
matejpavlovic opened this issue Jul 9, 2023 · 0 comments
Open

Expose basic notion of wall clock time in Trantor #487

matejpavlovic opened this issue Jul 9, 2023 · 0 comments
Labels
enhancement New feature or request Trantor

Comments

@matejpavlovic
Copy link
Contributor

Once #367 is implemented, one can easily use the "asynchronous" verification module to implement a basic notion of time in Trantor blocks as follows:

Whenever a block is proposed, the proposer attaches its local real-world wall clock time to it as metadata. When the receiver verifies the block, its "asynchronous" verification module will not respond until its own local wall-clock time exceeds the attached timestamp.

This guarantees that, as long as correct nodes have their local clocks set up correctly, only blocks with timestamps in the past will be agreed upon. In other words, anyone observing a block produced by Trantor can be sure that the attached time has already passed. Note that, while arguably already useful in this form, this is a rather weak guarantee and should not be mistaken for up-to-date real time. Even monotonicity of the timestamps is not guaranteed across blocks. Two subsequent blocks with a decreasing timestamp values may well be produced, as long as both timestamps are in the past.

@matejpavlovic matejpavlovic added enhancement New feature or request Trantor labels Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Trantor
Projects
None yet
Development

No branches or pull requests

1 participant