When resuming indexing from a previous state, the indexer writes new first height in the index.
For example, if we first indexed blocks 0-100, then in the next run the indexer resumes from the 101st block, it will, by the looks of it in the ForwardHeight function, set that as the first block.
Even though in the index there will be blocks e.g. 0-200, the first and last will indicate range of 101 to 200.
When resuming indexing from a previous state, the indexer writes new
first
height in the index.For example, if we first indexed blocks 0-100, then in the next run the indexer resumes from the 101st block, it will, by the looks of it in the
ForwardHeight
function, set that as the first block.Even though in the index there will be blocks e.g. 0-200, the
first
andlast
will indicate range of 101 to 200.