Log when the syncer awaits peer readiness (#1714)

This commit is contained in:
teor 2021-02-10 07:09:27 +10:00 committed by GitHub
parent d030cd9e3a
commit dce11358d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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(