Function forest_filecoin::chain_sync::network_context::validate_network_tipsets
source ยท fn validate_network_tipsets(
tipsets: &[Arc<Tipset>],
start_tipset_key: &TipsetKey,
) -> bool
Expand description
Validates network tipsets that are sorted by epoch in descending order with the below checks
- The latest(first) tipset has the desired tipset key
- The sorted tipsets are chained by their tipset keys