Expand description
Progress tracking for blockchain syncing.
Constants§
- LOG_
INTERVAL πThe amount of time between progress logs. - The number of blocks we consider to be close to the tip.
- The minimum number of extra blocks mined between updating a checkpoint list, and running an automated test that depends on that list.
- Skip slow sync warnings when we are this close to the tip.
- The amount of time between progress bar updates.
- The number of fractional digits in sync percentages.
Functions§
- Logs Zebraβs estimated progress towards the chain tip every minute or so, and updates a terminal progress bar every few seconds.