Function decide_epoch_root

Source
async fn decide_epoch_root<TYPES: NodeType, I: NodeImplementation<TYPES>>(
    decided_leaf: &Leaf2<TYPES>,
    epoch_height: u64,
    membership: &EpochMembershipCoordinator<TYPES>,
    storage: &I::Storage,
    consensus: &OuterConsensus<TYPES>,
)
Expand description

Handles calling add_epoch_root and sync_l1 on Membership if necessary.