Skip to content

ADR 071: Proposer-based Timestamps - #6799

Merged
williambanfield merged 16 commits into
masterfrom
wb/adr-071
Aug 20, 2021
Merged

williambanfield merged 16 commits into
masterfrom
wb/adr-071

Conversation

@williambanfield

@williambanfield williambanfield commented Aug 5, 2021 •

Copy link
Copy Markdown
Contributor

@williambanfield williambanfield changed the title adr: initial draft of adr 71 for proposer-based timestamps ADR 071: Proposer-based Timestamps Aug 6, 2021
@williambanfield
williambanfield marked this pull request as ready for review August 6, 2021 15:09
type TimestampParams struct {
Accuracy time.Duration `json:"accuracy"`
Precision time.Duration `json:"precision"`
MsgDelay time.Duration `json:"msg_delay"`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this intended to be calculated? Is this meant to be something like "maximum expected ping time across all validators"? Since it's defined as being the same across all validators, I'm trying to see how it could be used in practice.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote a comment on this point here: tendermint/spec#265 (comment)

The gist is that it should be the maximum possible time it takes for a proposal to go from any possible proposer to at least 2/3 of the network. In a gossip network it may go through two or three nodes who must also first validate it before it reaches a node

@josef-widder josef-widder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great. Thanks

@cmwaters cmwaters left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent ADR 🥇

I like the really thorough explanations. I have a few minor follow ups but I think this is almost in a state to be merged.

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

Successfully merging this pull request may close these issues.

7 participants