What could be the range of lowest to highest? Since FindNextUnclaimedHeight() is called for every block during the backfill which may be CPU-intensive. An improvement can be maintainining a min-heap or some kind of tracker that will directly give us the next unclaimed height
What could be the range of lowest to highest? Since FindNextUnclaimedHeight() is called for every block during the backfill which may be CPU-intensive. An improvement can be maintainining a min-heap or some kind of tracker that will directly give us the next unclaimed height