diff --git a/zebrad/src/components/sync.rs b/zebrad/src/components/sync.rs index 965bc643..ae71ccb9 100644 --- a/zebrad/src/components/sync.rs +++ b/zebrad/src/components/sync.rs @@ -351,7 +351,7 @@ where }) .map_err(|e| eyre!(e))?; - tracing::info!("trying to obtain new chain tips"); + tracing::info!(?tip = block_locator.first().unwrap(), "trying to obtain new chain tips"); tracing::debug!(?block_locator, "got block locator"); let mut requests = FuturesUnordered::new(); @@ -466,8 +466,9 @@ where let tips = std::mem::take(&mut self.prospective_tips); let mut download_set = HashSet::new(); + tracing::info!(?tips = tips.len(), "trying to extend chain tips"); for tip in tips { - tracing::info!(?tip, "trying to extend chain tips"); + tracing::debug!(?tip, "asking peers to extend chain tip"); let mut responses = FuturesUnordered::new(); for _ in 0..FANOUT { responses.push(