zebrad::components::sync

Constant MAX_TIPS_RESPONSE_HASH_COUNT

source
pub const MAX_TIPS_RESPONSE_HASH_COUNT: usize = 500;
Expand description

The expected maximum number of hashes in an ObtainTips or ExtendTips response.

This is used to allow block heights that are slightly beyond the lookahead limit, but still limit the number of blocks in the pipeline between the downloader and the state.

See MIN_CHECKPOINT_CONCURRENCY_LIMIT for details.