diff --git a/libraries/chain/block_log.cpp b/libraries/chain/block_log.cpp index 1c06422c0a7..0f7169b32b8 100644 --- a/libraries/chain/block_log.cpp +++ b/libraries/chain/block_log.cpp @@ -347,6 +347,8 @@ namespace eosio { namespace chain { while( pos < end_pos ) { fc::raw::unpack(my->block_stream, tmp); my->block_stream.read((char*)&pos, sizeof(pos)); + if(tmp.block_num() % 1000 == 0) + ilog( "Block log index reconstructed for block ${n}", ("n", tmp.block_num())); my->index_stream.write((char*)&pos, sizeof(pos)); } } // construct_index @@ -468,6 +470,8 @@ namespace eosio { namespace chain { new_block_stream.write( data.data(), data.size() ); new_block_stream.write( reinterpret_cast(&pos), sizeof(pos) ); block_num = tmp.block_num(); + if(block_num % 1000 == 0) + ilog( "Recovered block ${num}", ("num", block_num) ); pos = new_block_stream.tellp(); if( block_num == truncate_at_block ) break;