Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

PBTS: new system model and problem statement #375

Merged
merged 15 commits into from
Dec 15, 2021
Merged

PBTS: new system model and problem statement #375

merged 15 commits into from
Dec 15, 2021

Conversation

cason
Copy link

@cason cason commented Dec 3, 2021

It seems that some of the changes listed here were already addressed by the previous PR.

This PR essentially adds pbts-sysmodel_002_draft.md, a new version of pbts-sysmodel_001_draft.md.

Not all the properties and references to the TLA spec are included, and this PR will probably require more commits and some discussions.


The adoption of an `ACCURACY` was intended to formalize the relation between a block time and the real time.
We observe, however, that clients will compare the block time to their local time,
or to the time they retrieve from a trusted source of time, not to a physical clock.
Copy link
Contributor

Choose a reason for hiding this comment

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

not to a physical clock

I'm not totally sure I understand what this phrase means since their local time is generated from a physical clock. I think this sentence is attempting to describe the fact that processes local clocks are not perfectly accurate, is that roughly correct?

Copy link
Author

Choose a reason for hiding this comment

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

I don't like this description either. I will try to fix it.

Copy link
Author

Choose a reason for hiding this comment

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

Please take a look on the new version.

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 great. Thanks! There are a couple a small issues raised by me and @williambanfield. Once they are fixed we should move forward and merge.

Comment on lines 53 to 54
The restriction imposed by the `PRECISION` parameter can then be used, indirectly,
to bound the difference block times and real time.
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be good to be more explicit about "can then be used, indirectly".

1. `now_p >= v.time - PRECISION` and
1. `now_p <= v.time + MSGDELAY + PRECISION`

### Timely Proof-of-Locks
Copy link
Contributor

Choose a reason for hiding this comment

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

If I understand the structure of the document correctly, the following text is about analysis / correctness arguments. If this is right, perhaps we should add a header making this more explicit.

Copy link
Author

Choose a reason for hiding this comment

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

A TLA+-related header?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure that it is TLA+ related. I guess the point is just that the following text is more interesting when one wants to understand correctness (rather than protocol details). Perhaps we can discuss this synchronously.

Copy link
Author

Choose a reason for hiding this comment

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

I've added some headers to the latest version.

@josef-widder
Copy link
Contributor

We merge the current state. @cason will add a README that explains the status of the files that is

  • open issues
  • TODOs
  • etc.

@cason
Copy link
Author

cason commented Dec 15, 2021

I think this branch is still not mergeable with master, needing a rebase. Can you confirm that? I don't have the option to merge the branch, @williambanfield can you help me (again) with this :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants