streamingfast / merger

Apache License 2.0
4 stars 5 forks source link

Merger stores blocks in wrong file when there are big holes on chain #30

Closed sduchesneau closed 1 year ago

sduchesneau commented 1 year ago

Blocks 104, 205, 506, 709, 710, 711, 712, 713... will be stored like this:

[100] -> 104 [200] -> 205 [300] -> 506 (!!!) [400] -> 709 (!!!...) [500] -> 710 [600] -> 711 [700] -> 712, 713...