I originally tried to create a db that just tracked a cumulative tenure processing time that would reset each time a new tenure change payload arrived, but these had a lot of edge cases due to out of order blocks. Hank suggested keeping a much smaller db copy of blocks to determine the tenure processing time instead which was much cleaner. I also implemented a cleanup for it since technically this is redundant/heuristic info and don't think we should have to keep it around indefinitely like we do other signer data.
I originally tried to create a db that just tracked a cumulative tenure processing time that would reset each time a new tenure change payload arrived, but these had a lot of edge cases due to out of order blocks. Hank suggested keeping a much smaller db copy of blocks to determine the tenure processing time instead which was much cleaner. I also implemented a cleanup for it since technically this is redundant/heuristic info and don't think we should have to keep it around indefinitely like we do other signer data.