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

const MAX_CHECKPOINT_DOWNLOAD_SECONDS: u64 = 300;

The maximum amount of time that Zebra should take to download a checkpoint full of blocks. Based on the current MAX_CHECKPOINT_BYTE_SIZE.

We assume that Zebra nodes have at least 10 Mbps bandwidth, and allow some extra time for request latency.