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

PBTS: system model made more precise #8096

Merged
merged 42 commits into from
May 2, 2022
Merged

PBTS: system model made more precise #8096

merged 42 commits into from
May 2, 2022

Conversation

cason
Copy link
Contributor

@cason cason commented Mar 9, 2022

System model updated from comments received in meetings, being also aligned with the restrictions imposed by the formal specification of the solution in TLA+.

Copy link
Contributor

@josef-widder josef-widder left a comment

Choose a reason for hiding this comment

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

Thanks! Looks great. Even the inequalities have been updated now ;-)

@cason cason marked this pull request as draft March 11, 2022 07:01
Comment on lines 214 to 223
The existence of `POL(v,r)` is a requirement for the decision of `v` at round
`r` of consensus.

At the same time, the Time-Validity property established that if `v` is decided
then a timely proof-of-lock `POL(v,v.round)` must have been produced.

So, we need to demonstrate here that any valid `POL(v,r)` is either a timely
proof-of-lock or it is derived from a timely proof-of-lock:

#### **[PBTS-DERIVED-POL.0]**
Copy link
Contributor

Choose a reason for hiding this comment

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

Really like this section! Very clear.

@cason cason marked this pull request as ready for review April 13, 2022 07:42
@github-actions github-actions bot closed this Apr 18, 2022
@cason cason reopened this Apr 18, 2022
Copy link
Contributor

@williambanfield williambanfield left a comment

Choose a reason for hiding this comment

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

A few minor fixups but otherwise looks good.

@github-actions github-actions bot closed this Apr 23, 2022
@cason cason reopened this Apr 25, 2022
@cason cason requested a review from Kukovec April 25, 2022 09:24
Copy link
Contributor

@josef-widder josef-widder left a comment

Choose a reason for hiding this comment

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

looks good. I would just rename one section as proposed

josef-widder and others added 2 commits April 29, 2022 14:42
…t.md

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
…t.md

Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Comment on lines 280 to 281
`beginRound(p,r)` to represent the time the process `p` reads from its clock
when it starts round `r` of consensus.
Copy link
Contributor

@josef-widder josef-widder Apr 29, 2022

Choose a reason for hiding this comment

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

Suggested change
`beginRound(p,r)` to represent the time the process `p` reads from its clock
when it starts round `r` of consensus.
`beginRound(p,r)` as the value of process `p`'s local clock
when it starts round `r` of consensus.

josef-widder and others added 6 commits April 29, 2022 14:45
…t.md

Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
…t.md

Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
…t.md

Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
@cason cason merged commit a49325e into master May 2, 2022
@cason cason deleted the cason/pbts branch May 2, 2022 08:22
github-merge-queue bot pushed a commit to cometbft/cometbft that referenced this pull request Jan 9, 2024
This PR cherry-picks a number of commits present in the `master` branch
of this repository.

Some of the commits are from the old `tendermint/spec` repository,
namely:

- tendermint/spec#369
- tendermint/spec#373
- tendermint/spec#375
- tendermint/spec#398
- tendermint/spec#399

This content has then been migrated to the `tendermint/tendermint`
repository, from which follow PRs were considered:

- tendermint/tendermint#7804 (**not cherry-picked**)
- tendermint/tendermint#8018
- tendermint/tendermint#8096

Most of the conflicts and the fixes needed refer to links to content,
that have been updated or referred to old repositories.

The MD files that are currently under
`spec/consensus/proposer-based-timestamp` were moved to the `v1` subdir.
Files with similar names, but the `-002` suffix were added with the new
solution, replacing the old ones.

The differences from the original content, on `master` and the content
of this PR are minimal, as one can check by running

` git diff master spec/consensus/proposer-based-timestamp/`

Finally, the entry point of the added content can be found
[here](https://github.com/cometbft/cometbft/blob/cason/pbts-spec/spec/consensus/proposer-based-timestamp/README.md).

---------

Co-authored-by: Daniel <daniel.cason@usi.ch>
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: Kukovec <jure.kukovec@gmail.com>
Co-authored-by: Daniel Cason <cason@gandria>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
mergify bot pushed a commit to cometbft/cometbft that referenced this pull request Mar 8, 2024
This PR cherry-picks a number of commits present in the `master` branch
of this repository.

Some of the commits are from the old `tendermint/spec` repository,
namely:

- tendermint/spec#369
- tendermint/spec#373
- tendermint/spec#375
- tendermint/spec#398
- tendermint/spec#399

This content has then been migrated to the `tendermint/tendermint`
repository, from which follow PRs were considered:

- tendermint/tendermint#7804 (**not cherry-picked**)
- tendermint/tendermint#8018
- tendermint/tendermint#8096

Most of the conflicts and the fixes needed refer to links to content,
that have been updated or referred to old repositories.

The MD files that are currently under
`spec/consensus/proposer-based-timestamp` were moved to the `v1` subdir.
Files with similar names, but the `-002` suffix were added with the new
solution, replacing the old ones.

The differences from the original content, on `master` and the content
of this PR are minimal, as one can check by running

` git diff master spec/consensus/proposer-based-timestamp/`

Finally, the entry point of the added content can be found
[here](https://github.com/cometbft/cometbft/blob/cason/pbts-spec/spec/consensus/proposer-based-timestamp/README.md).

---------

Co-authored-by: Daniel <daniel.cason@usi.ch>
Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
Co-authored-by: Kukovec <jure.kukovec@gmail.com>
Co-authored-by: Daniel Cason <cason@gandria>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
(cherry picked from commit 84339ef)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale for use by stalebot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants