Resolve "Investigate: Index certain blocks from the past"
Closes #219 (closed)
feat: Added support for indexing explicitly specified blocks:
- It is useful to fix incorrect data from the past without re-indexing entire blockchain.
- Blocks can be specified using
--blocks
CLI option as list or levels or level ranges e.g.--blocks 5,7-10,18
will indexed blocks with level 5, 7, 8, 9, 10 and 18. - Specified blocks are indexed instead of regular indexing based on Dappetizer configuration file.
- If blocks already exist, then they are rolled back first using
IndexingCycleHandler.rollBackOnReorganization(...)
(the method will be renamed in the next major release).