File tree Expand file tree Collapse file tree 3 files changed +5
-62
lines changed
Expand file tree Collapse file tree 3 files changed +5
-62
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,3 @@ spec = "config_spec.toml"
2323
2424[[bin ]]
2525name = " ibd"
26-
27- [[bin ]]
28- name = " bench"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -294,17 +294,18 @@ pub fn get_blocks_for_range(
294294 batch = next;
295295 completed_batches += 1 ;
296296 tracing:: info!(
297- "[thread {task_id:2}]: requesting next batch. blocks downloaded: {}" ,
298- CHUNK_SIZE * completed_batches
297+ "[thread {task_id:2}]: blocks downloaded: {}/{}" ,
298+ CHUNK_SIZE * completed_batches,
299+ stop_height,
299300 ) ;
300301 let percent = ( 1.
301302 - ( ( CHUNK_SIZE * jobs_lock. len ( ) ) as f32 / stop_height as f32 ) )
302303 * 100.0 ;
303304 tracing:: info!(
304- "[thread m]: {:.6}/{}; progress: {:.6}%" ,
305+ "[thread m]: progress: {:.6}% ; blocks remaining: {}/{}" ,
306+ percent,
305307 CHUNK_SIZE * jobs_lock. len( ) ,
306308 stop_height,
307- percent,
308309 ) ;
309310 let payload = InventoryPayload (
310311 batch. iter ( ) . map ( |hash| Inventory :: Block ( * hash) ) . collect ( ) ,
You can’t perform that action at this time.
0 commit comments