During -reindex
in the following log messages:
02020-07-27T15:33:17Z [loadblk] Reindexing block file blk02155.dat...
12020-07-27T15:33:19Z [loadblk] Loaded 0 blocks from external file in 1170ms
22020-07-27T15:33:19Z [loadblk] Reindexing block file blk02156.dat...
32020-07-27T15:33:20Z [loadblk] Loaded 0 blocks from external file in 1221ms
42020-07-27T15:33:20Z [loadblk] Reindexing block file blk02157.dat...
52020-07-27T15:33:27Z [loadblk] Loaded 609 blocks from external file in 7214ms
the latest one is clearly wrong as all of the “loaded 609 blocks” are not from the blk02157.dat
file. Some of them belong to the previously processed *.dat
files.
With this PR these messages will look like:
02020-07-27T15:33:20Z [loadblk] Reindexing block file blk02157.dat...
12020-07-27T15:33:27Z [loadblk] Processed block file. Loaded 609 blocks in 7214ms
This was done while reviewing #16981.