1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00

Simplify indexing logging

This commit is contained in:
Roman Zeyde 2018-05-02 16:56:39 +03:00
parent ca2223e476
commit ab785abbee
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -293,11 +293,11 @@ impl Index {
let best_block_header: &BlockHeader =
current_headers.headers().last().unwrap().header();
info!(
"got {} headers (indexed {}), best {} @ {}",
current_headers.headers().len(),
indexed_headers.len(),
"height {}, best {} @ {} ({} left to index)",
current_headers.headers().len() - 1,
best_block_header.bitcoin_hash(),
time::at_utc(time::Timespec::new(best_block_header.time as i64, 0)).rfc3339(),
current_headers.headers().len() - indexed_headers.len(),
);
}
current_headers