Skip to main content

Module cutover

Module cutover 

Source
Expand description

Legacy → new-protocol cutover machinery.

Three concerns live here:

Structs§

CutoverGate
Latches once legacy crosses into the new protocol. The single API production and tests share: poll check on every coordinator loop iteration; once it returns true the cutover has happened and subsequent calls short-circuit.

Functions§

extract_pre_cutover_seed
Walk legacy state to produce a PreCutoverSeed; None on a broken walk.
forward_legacy_epoch_changes
Forward legacy epoch transitions into bump_network_epoch. epoch_height == 0 disables forwarding.
forward_legacy_timeout_votes
Forward legacy TimeoutVote2 events into the new-protocol timeout collectors so the first new leader can form TC2 at the boundary.