-
Notifications
You must be signed in to change notification settings - Fork 1
fix: QBFT #417
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
Open
iamquang95
wants to merge
30
commits into
main
Choose a base branch
from
iamquang95/qbft
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,186
−335
Open
fix: QBFT #417
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
606d5bc
test: update qbft test
iamquang95 0ec38de
fix: compare run on retached thread
iamquang95 b752caa
fix: removed hard coded salt in tests
iamquang95 ed912ee
fix: return error on Context cancelled
iamquang95 e01f64f
fix: hash from string, not magic number
iamquang95 b22fb41
fix: one shot cancel when parent is cancelled
iamquang95 081d8a4
fix: fix make_is_leader test
iamquang95 1a0a337
fix: minors naming and comments
iamquang95 183f48e
Merge remote-tracking branch 'origin/main' into iamquang95/qbft
iamquang95 44b9a13
fix: linter
iamquang95 cc59baf
fix: early cancel on the loop
iamquang95 ed82b6e
fix: context cancel in compare
iamquang95 7911c23
fix: validate definition
iamquang95 829ba5f
fix: add check pr < r
iamquang95 d834463
fix: test and document on run
iamquang95 739e3b3
fix: compare callback failed should timeout
iamquang95 27744cf
fix: test use timeout channel instead of sleep
iamquang95 0bd6a4f
fix: add comment on cancellation poll interval
iamquang95 e988c35
fix: use enum for invalid defnintion error
iamquang95 6c65b32
fix: add more test on check valid round
iamquang95 b30e616
fix: using test-case
iamquang95 4a364df
fix: small fixes
iamquang95 e759a81
fix: linter
iamquang95 2d9ef3c
Merge remote-tracking branch 'origin/main' into iamquang95/qbft
iamquang95 998b9ce
fix: remove unnecessary filter
iamquang95 0451f20
fix: make_is_leader now 0-based
iamquang95 e0e51f7
fix: add cancelled state for fake clock
iamquang95 6cc22da
fix: flanky tests by ordering and add small settle window time
iamquang95 7e48b56
fix: harden fake-clock to avoid flanky scheduling
iamquang95 024bff7
fix: lint
iamquang95 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a new ClientRecord struct instead of the tuple.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do that on the refactoring PR later 👍