const MIN_SYNC_WARNING_BLOCKS: i32 = 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)