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

Proposal: Use NTP Timestamps in Consensus Messages #12

Open
fed-franz opened this issue Apr 25, 2024 · 2 comments
Open

Proposal: Use NTP Timestamps in Consensus Messages #12

fed-franz opened this issue Apr 25, 2024 · 2 comments

Comments

@fed-franz
Copy link
Collaborator

fed-franz commented Apr 25, 2024

Summary

This DIP proposes to make nodes leverage NTP for constructing and verifying consensus messages timestamps.

Having a reliable timestamp is pre-requisite to enable or support features like:

  • Autocontracts (eg, have actions triggered by reaching a specific time)
  • Slashing provisioners working on multiple branches at the same time
  • Prevent withholding attacks, where ratified blocks are kept hidden and then published at a later time

Possible solution design or implementation

A classic server-based NTP can be used in the first implementation.
In a subsequent version, this should be replaced with a P2P NTP or other distributed protocol.

Additional context

Related Issues:

@herr-seppia
Copy link
Member

Proposal and Ratification already have a timestamp field

@fed-franz fed-franz changed the title Proposal: Add Timestamps to Consensus Messages Proposal: Use NTP Timestamps in Consensus Messages May 14, 2024
@fed-franz
Copy link
Collaborator Author

Proposal and Ratification already have a timestamp field

I updated the DIP to only make these timestamps based on NTP

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

2 participants