diff --git a/chain/src/pipe.rs b/chain/src/pipe.rs index 536875c6..8188d957 100644 --- a/chain/src/pipe.rs +++ b/chain/src/pipe.rs @@ -369,12 +369,16 @@ fn update_head(b: &Block, ctx: &mut BlockContext) -> Result, Error> .map_err(|e| Error::StoreErr(e, "pipe save head".to_owned()))?; } ctx.head = tip.clone(); - info!( + debug!( LOGGER, "Updated head to {} at {}.", b.hash(), b.header.height ); + if b.header.height % 500 == 0 { + info!(LOGGER, "pipe: chain head reached {} @ {} [{}]", + b.header.height, b.header.difficulty, b.hash()); + } Ok(Some(tip)) } else { Ok(None) @@ -388,12 +392,15 @@ fn update_sync_head(bh: &BlockHeader, ctx: &mut BlockContext) -> Result Result