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

Hotstuff 2 #3877

Merged
merged 25 commits into from
Nov 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a2306c2
removing some unused stuff and adding HighQC message + event
bfish713 Nov 11, 2024
6fd19b9
Update high qc events, add helper to send
bfish713 Nov 11, 2024
3121fc5
Send high Qc on view change
bfish713 Nov 11, 2024
fa293eb
wait for highest qc in the proposal task
bfish713 Nov 11, 2024
7655ca9
fn stub
bfish713 Nov 12, 2024
52ef1de
Merge remote-tracking branch 'origin/main' into bf/hs2
bfish713 Nov 12, 2024
09f6f2f
working on fn
bfish713 Nov 13, 2024
b182bd8
Merge remote-tracking branch 'origin/main' into bf/hs2
bfish713 Nov 13, 2024
80d33d8
new decide rule and locked qc rule for hs2
bfish713 Nov 13, 2024
4cfc5b3
Merge branch 'main' into bf/hs2
bfish713 Nov 13, 2024
4f6c364
Merge main
bfish713 Nov 13, 2024
ee2f58f
Merge remote-tracking branch 'origin/main' into bf/hs2
bfish713 Nov 13, 2024
39c80f9
add failures test
bfish713 Nov 13, 2024
9945eca
actually use new decide rule
bfish713 Nov 13, 2024
eb16075
add test verifying the new decide rule is one shorter
bfish713 Nov 13, 2024
0dab02b
reduce epoch chain len by 1
bfish713 Nov 13, 2024
365ded5
fix waiting and validate QC
bfish713 Nov 14, 2024
29ec448
use proper timeout
bfish713 Nov 14, 2024
ac6f36e
more accurate high qc waiting logic
bfish713 Nov 14, 2024
82fa8be
Merge branch 'main' into bf/hs2
bfish713 Nov 14, 2024
e4f5976
gate by versios before waiting for QC
bfish713 Nov 14, 2024
e67c7ab
Merge branch 'main' into bf/hs2
bfish713 Nov 14, 2024
d65b233
Fix GC for epochs
bfish713 Nov 15, 2024
a63ddaa
fix version gating
bfish713 Nov 15, 2024
9a91498
Merge remote-tracking branch 'origin/main' into bf/hs2
bfish713 Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/types/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ impl<TYPES: NodeType> Consensus<TYPES> {
let mut is_leaf_extended = true;
if let Err(e) = self.visit_leaf_ancestors(
leaf_view,
Terminator::Inclusive(leaf_view - 2),
Terminator::Inclusive(leaf_view - 1),
lukaszrzasik marked this conversation as resolved.
Show resolved Hide resolved
true,
|leaf, _, _| {
tracing::trace!(
Expand Down