const SYNC_RESTART_DELAY: Duration;
Expand description

Controls how long we wait to restart syncing after finishing a sync run.

This delay should be long enough to:

• allow zcashd peers to process pending requests. If the node only has a few peers, we want to clear as much peer state as possible. In particular, zcashd sends “next block range” hints, based on zcashd’s internal model of our sync progress. But we want to discard these hints, so they don’t get confused with ObtainTips and ExtendTips responses, and