-
Notifications
You must be signed in to change notification settings - Fork 683
Only wait if a new timestamp is being generated #1206
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
Conversation
Only wait if a new timestamp is being generated. This change is made on master because the spec in main is not updated
I think there is another possible improvement in [PBTS-ALG-UPON-PROP.1]. The |
Potential fix.
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hey, getting here late. I don't see any practical effect from this change. The point of that line is to ensure that the current time is higher than the timestamp of the previous block. This (being too fast) can happen in any scenario, but it is much more likely to happen in round 0, when we don't have a valid block. We can only have a valid block from round 1, when it is pretty unlikely that we have to wait for the local time to be higher than last block's time. In summary, this |
Some more context, which should have been in the description. A similar argument serves for the @sergio-mena 's proposal. If the block is valid it will not be passed to processProposal, where its "timely"ness would be evaluated. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This discussion should be reopened when we port PBTS to main. |
This discussion was taken into consideration when merging the specs from master to main. |
Only wait if a new timestamp is being generated. If the one in the valid value is being used, just speed things up
This change is made on master because the spec in main is not updated, which is another issue.
PR checklist
.changelog
(we use unclog to manage our changelog)docs/
orspec/
) and code comments