Skip to content

Commit

Permalink
Log when the syncer awaits peer readiness (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored and dconnolly committed Feb 11, 2021
1 parent a5cbdd0 commit fd0cf9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zebrad/src/components/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit fd0cf9e

Please sign in to comment.