Closed froch closed 2 years ago
as alexandre, I want to be able, while processing blocks with some machinery, to mark blocks as interesting for a given key, and have a GenericIndexer store that info in indexes that will be used after.
Example:
The constructhor needs the following info:
tagging @abourget per request
We want to convert the work on LogAddressIndex to a generic BlockIndex.
Ideally, in a second step, the LogAddressIndex could be rewritten to piggyback on the generic BlockIndex/indexer/provider
The idea is to not have multiple time the same code that : "defines the boundaries of the index, encodes/decode simple KV to RoraringBitmap in protobuf + lowBoundary parsing in the name, indexSizes management...."
Acceptance Criteria:
NewBlockIndexer
(...)