zebrad::components::sync::progress

Constant MIN_SYNC_WARNING_BLOCKS

source
const MIN_SYNC_WARNING_BLOCKS: HeightDiff = 60;
Expand description

Skip slow sync warnings when we are this close to the tip.

In testing, we’ve seen warnings around 30 blocks.

TODO: replace with MAX_CLOSE_TO_TIP_BLOCKS after fixing slow syncing near tip (#3375)