Module transition_frontier_sync_effects

Source

Functionsยง

maybe_copy_ledgers_for_sync ๐Ÿ”’
For snarked ledger sync targets, copy the previous snarked ledger if required
prepare_next_epoch_ledger_for_sync ๐Ÿ”’
Copies (if necessary) the staking ledger into the sync ledger state for the next epoch ledger to use as a starting point.
prepare_staking_epoch_ledger_for_sync ๐Ÿ”’
Copies (if necessary) the genesis ledger into the sync ledger state for the staking epoch ledger to use as a starting point.
prepare_transition_frontier_root_ledger_for_sync ๐Ÿ”’
Copies (if necessary) the next epoch ledger into the sync ledger state for the transition frontier root ledger to use as a starting point.
sync_best_tip ๐Ÿ”’
Gets from the current state the best tip sync target