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

FLIP 204: Update cruisectl.BlockTimeController to use TargetEndTime, TargetDuration #5023

Conversation

jordanschalm
Copy link
Member

@jordanschalm jordanschalm commented Nov 15, 2023

Addresses #4946

@jordanschalm jordanschalm changed the title FLIP 204: Update cruisectl.BlockTimeController to use TargetEndTime FLIP 204: Update cruisectl.BlockTimeController to use TargetEndTime, TargetDuration Nov 20, 2023
jordanschalm and others added 6 commits November 20, 2023 11:05
- add helper functions for concisely converting between various
  time/duration types.
- use ns-level precision in view measurement, primarily so that we can
  verify this implementation is consistent with the Python simulation.
  For real-world, second-level precision is likely fine.
Co-authored-by: Alexander Hentschel <alex.hentschel@axiomzen.co>
@jordanschalm jordanschalm requested review from durkmurder and AlexHentschel and removed request for ramtinms, gomisha and yhassanzadeh13 November 20, 2023 18:53
Copy link
Member

@AlexHentschel AlexHentschel left a comment

Choose a reason for hiding this comment

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

very clean work.

consensus/hotstuff/cruisectl/block_time_controller.go Outdated Show resolved Hide resolved
consensus/hotstuff/cruisectl/block_time_controller.go Outdated Show resolved Hide resolved
consensus/hotstuff/cruisectl/block_time_controller.go Outdated Show resolved Hide resolved
consensus/hotstuff/cruisectl/block_time_controller.go Outdated Show resolved Hide resolved
consensus/hotstuff/cruisectl/block_time_controller.go Outdated Show resolved Hide resolved
consensus/hotstuff/cruisectl/config.go Outdated Show resolved Hide resolved
state/protocol/inmem/encodable.go Outdated Show resolved Hide resolved
@jordanschalm
Copy link
Member Author

@durkmurder The dependent PR has been merged, and this is ready for another review now 🙏

Copy link
Member

@durkmurder durkmurder left a comment

Choose a reason for hiding this comment

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

✈️

@jordanschalm jordanschalm merged commit de721aa into feature/flip-204-epoch-target-end-time Nov 24, 2023
54 checks passed
@jordanschalm jordanschalm deleted the jordan/4946-cruise-ctl-target-end-time branch November 24, 2023 20:32
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.

None yet

5 participants