Function zebrad::components::sync::progress::show_block_chain_progress

source ·
pub async fn show_block_chain_progress(
    network: Network,
    latest_chain_tip: impl ChainTip,
    sync_status: SyncStatus,
) -> !
Expand description

Logs Zebra’s estimated progress towards the chain tip every minute or so, and updates a terminal progress bar every few seconds.

TODO:

  • log progress towards, remaining blocks before, and remaining time to next network upgrade
  • add some progress info to the metrics