fix: Increase the number of retries
The old sync code relied on duplicate block fetches to make progress,
but the last few commits have removed some of those duplicates.
Instead, just retry the fetches that fail.
@@ -59,7 +59,7 @@ where
/// - state: the zebra-state that stores the chain
/// - verifier: the zebra-consensus verifier that checks the chain
pub fn new(chain: Network, peers: ZN, state: ZS, verifier: ZV) -> Self {
- let retry_peers = Retry::new(RetryLimit::new(3), peers.clone());
+ let retry_peers = Retry::new(RetryLimit::new(10), peers.clone());
Self {
tip_network: peers,
block_network: retry_peers,
