Skip to main content

Module epoch_membership

Module epoch_membership 

Source
Expand description

Epoch Membership wrappers

Structsยง

EpochMembership
Wrapper around a membership that holds a captured snapshot for a given epoch (or the pre-epoch state). All accessors observe one consistent view because the snapshot is held inline.
EpochMembershipCoordinator
Struct to Coordinate membership catchup

Enumsยง

EpochMembershipSnapshot ๐Ÿ”’

Functionsยง

spawn_catchup ๐Ÿ”’

Type Aliasesยง

DrbCancelMap ๐Ÿ”’
Cancellation tokens for in-flight DRB computations. When an external source supplies the DRB result for epoch (e.g. a decided leaf carrying next_drb_result), supply_drb fires the token so the local computation can stop early instead of grinding to completion.
DrbMap ๐Ÿ”’
EpochMap ๐Ÿ”’
EpochSender ๐Ÿ”’
Snapshot ๐Ÿ”’
The per-epoch snapshot type associated with T::Membership.
SnapshotStakeTableHash ๐Ÿ”’
The stake-table hash type associated with T::Membershipโ€™s per-epoch snapshot.