Function forest_filecoin::health::endpoints::check_epoch_up_to_date

source ยท
fn check_epoch_up_to_date(
    state: &ForestState,
    acc: &mut MessageAccumulator,
) -> bool
Expand description

Checks if the current epoch of the node is not too far behind the network. Making the threshold too strict can cause the node to repeatedly report as not ready, especially in case of forking.