logo
const GENESIS_TIMEOUT_RETRY: Duration;
Expand description

Controls how long we wait to retry a failed attempt to download and verify the genesis block.

This timeout gives the crawler time to find better peers.

Security

If this timeout is removed (or set too low), Zebra will immediately retry to download and verify the genesis block from its peers. This can cause a denial of service on those peers.