bitcoin: also log the number of verified blocks in the poller

This commit is contained in:
Antoine Poinsot 2023-10-19 10:11:12 +02:00
parent b84dbc668c
commit 6dfa04f6c7
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -358,8 +358,10 @@ pub fn looper(
if !synced {
let progress = bit.sync_progress();
log::info!(
"Block chain synchronization progress: {:.2}%",
progress.rounded_up_progress() * 100.0
"Block chain synchronization progress: {:.2}% ({} blocks / {} headers)",
progress.rounded_up_progress() * 100.0,
progress.blocks,
progress.headers
);
synced = progress.is_complete();
if !synced {