From dce11358d718c296f28f72bebc58d41b08614ff8 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 10 Feb 2021 07:09:27 +1000 Subject: [PATCH] Log when the syncer awaits peer readiness (#1714) --- zebrad/src/components/sync.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zebrad/src/components/sync.rs b/zebrad/src/components/sync.rs index 41bf15a7..d673c6a2 100644 --- a/zebrad/src/components/sync.rs +++ b/zebrad/src/components/sync.rs @@ -351,7 +351,8 @@ where }) .map_err(|e| eyre!(e))?; - tracing::debug!(?block_locator, "trying to obtain new chain tips"); + tracing::info!("trying to obtain new chain tips"); + tracing::debug!(?block_locator, "got block locator"); let mut requests = FuturesUnordered::new(); for _ in 0..FANOUT { @@ -466,7 +467,7 @@ where let mut download_set = HashSet::new(); for tip in tips { - tracing::debug!(?tip, "extending tip"); + tracing::info!(?tip, "trying to extend chain tips"); let mut responses = FuturesUnordered::new(); for _ in 0..FANOUT { responses.push(