@@ -2386,9 +2386,9 @@ namespace eosio {
23862386 if ( req.req_blocks .mode == catch_up ) {
23872387 {
23882388 fc::lock_guard g ( sync_mtx );
2389- peer_ilog ( c, " catch_up while in ${s}, fork head num = ${fhn } "
2389+ peer_ilog ( c, " catch_up while in ${s}, head num = ${hn } "
23902390 " target LIB = ${lib} next_expected = ${ne}, id ${id}..." ,
2391- (" s" , stage_str ( sync_state ))(" fhn " , num)(" lib" , sync_known_lib_num)
2391+ (" s" , stage_str ( sync_state ))(" hn " , num)(" lib" , sync_known_lib_num)
23922392 (" ne" , sync_next_expected_num)(" id" , id.str ().substr ( 8 , 16 )) );
23932393 }
23942394 auto chain_info = my_impl->get_chain_info ();
@@ -2403,8 +2403,8 @@ namespace eosio {
24032403
24042404 req.req_blocks .ids .emplace_back ( chain_info.head_id );
24052405 } else {
2406- peer_ilog ( c, " none notice while in ${s}, fork head num = ${fhn }, id ${id}..." ,
2407- (" s" , stage_str ( sync_state ))(" fhn " , num)(" id" , id.str ().substr (8 ,16 )) );
2406+ peer_ilog ( c, " none notice while in ${s}, head num = ${hn }, id ${id}..." ,
2407+ (" s" , stage_str ( sync_state ))(" hn " , num)(" id" , id.str ().substr (8 ,16 )) );
24082408 fc::lock_guard g_conn ( c->conn_mtx );
24092409 c->fork_head = block_id_type ();
24102410 c->fork_head_num = 0 ;
@@ -3266,7 +3266,7 @@ namespace eosio {
32663266 chain_info.head_id = cc.fork_db_head_block_id ();
32673267 chain_info.head_num = head_num = block_header::num_from_id (chain_info.head_id );
32683268 }
3269- fc_dlog ( logger, " updating chain info lib ${lib}, fork ${fork }" , (" lib" , lib_num)(" fork " , head_num) );
3269+ fc_dlog ( logger, " updating chain info lib ${lib}, head ${h }" , (" lib" , lib_num)(" h " , head_num) );
32703270 }
32713271
32723272 // call only from main application thread
@@ -3280,7 +3280,7 @@ namespace eosio {
32803280 chain_info.head_id = cc.fork_db_head_block_id ();
32813281 chain_info.head_num = head_num = block_header::num_from_id (chain_info.head_id );
32823282 }
3283- fc_dlog ( logger, " updating chain info lib ${lib}, fork ${fork }" , (" lib" , lib_num)(" fork " , head_num) );
3283+ fc_dlog ( logger, " updating chain info lib ${lib}, head ${h }" , (" lib" , lib_num)(" h " , head_num) );
32843284 }
32853285
32863286
@@ -3468,7 +3468,7 @@ namespace eosio {
34683468 uint32_t peer_lib = msg.last_irreversible_block_num ;
34693469 uint32_t lib_num = my_impl->get_chain_lib_num ();
34703470
3471- peer_dlog ( this , " handshake check for fork lib_num = ${ln}, peer_lib = ${pl}" , (" ln" , lib_num)(" pl" , peer_lib) );
3471+ peer_dlog ( this , " handshake check lib_num = ${ln}, peer_lib = ${pl}" , (" ln" , lib_num)(" pl" , peer_lib) );
34723472
34733473 if ( peer_lib <= lib_num && peer_lib > 0 ) {
34743474 bool on_fork = false ;
0 commit comments