Skip to content
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a7175f3
[glue] DKG+reshare
clabby Jun 22, 2026
97a1de6
fix(consensus): clone pending ancestry fetch
clabby Jul 17, 2026
3a4a1eb
fix(consensus): peek through ancestry prefix
clabby Jul 17, 2026
6bacfdf
fix(glue): bind probe sample committee
clabby Jul 17, 2026
ac0d70d
fix(glue): reject terminal anchor epochs
clabby Jul 17, 2026
1f19a17
fix(glue): authenticate anchor block config
clabby Jul 17, 2026
14b4f72
fix(glue): supervise epoch engine
clabby Jul 17, 2026
979cbed
fix(glue): cancel epoch gate waits
clabby Jul 17, 2026
2ff0e76
fix(glue): fail closed on epoch artifacts
clabby Jul 17, 2026
df27362
fix(glue): prioritize reshare control messages
clabby Jul 17, 2026
a580ce3
fix(glue): release canceled log reservations
clabby Jul 17, 2026
5a085e0
fix(glue): cancel pending ancestry scans
clabby Jul 17, 2026
63b1aef
fix(glue): validate future participants
clabby Jul 17, 2026
d0a8b4a
fix(glue): validate reshare epoch capacity
clabby Jul 17, 2026
c00c567
fix(glue): supervise bootstrap actors
clabby Jul 17, 2026
4a4f8c6
test(glue): reset DKG restart state
clabby Jul 17, 2026
8998e4f
fix(glue): compare required finalization views
clabby Jul 17, 2026
4fa1e25
test(glue): honor pruned genesis shares
clabby Jul 17, 2026
c9b462a
fix(glue): avoid anchor verifier payload panic
clabby Jul 17, 2026
483c90e
test(glue): restore forgotten epoch coverage
clabby Jul 17, 2026
297d91d
fix(glue): resolve marked epoch after close
clabby Jul 17, 2026
0a0a1c7
perf(glue): move reserved log payload
clabby Jul 17, 2026
b9fb9db
test(glue): simplify DKG restart state
clabby Jul 17, 2026
993d7cf
fix(glue): preserve follower participation
clabby Jul 17, 2026
b420100
fmt
clabby Jul 17, 2026
8304eff
fix(glue): bound future participants by epoch capacity
clabby Jul 17, 2026
43aff92
fix(glue): stop cleanly on closed consensus mux
clabby Jul 17, 2026
814024c
fix(glue): treat marshal shutdown as clean stop
clabby Jul 17, 2026
3604081
test(glue): resolve boundary blocks across validator states
clabby Jul 17, 2026
85fea78
fix(glue): handle epoch-first state sync floor
clabby Jul 17, 2026
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: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,22 @@ stability_scope!(ALPHA, cfg(not(target_arch = "wasm32")) {
/// The block type produced by the application's builder.
type Block: Block;

/// Per-proposal input handed to [`propose`](Self::propose). Applications
/// that need no input set this to `()`.
type Input: Send;

/// Build a new block on top of the provided parent ancestry. If the build job fails,
/// or the proposer's slot should be skipped, the implementor should return [None].
///
/// `input` is the per-proposal input for this build.
///
/// This future may be cancelled before it completes. Implementations must be
/// cancellation-safe.
fn propose(
&mut self,
context: (E, Self::Context),
ancestry: impl Ancestry<Self::Block>,
input: Self::Input,
) -> impl Future<Output = Option<Self::Block>> + Send;

/// Verify a block produced by the application's proposer, relative to its ancestry.
Expand Down
Loading
Loading