[][src]Constant zebrad::components::sync::LOOKAHEAD_LIMIT

const LOOKAHEAD_LIMIT: usize = checkpoint::MAX_CHECKPOINT_HEIGHT_GAP * 2; // 4_000usize

Controls how far ahead of the chain tip the syncer tries to download before waiting for queued verifications to complete. Set to twice the maximum checkpoint distance.

Some checkpoints contain larger blocks, so the maximum checkpoint gap can represent multiple gigabytes of data.