I think having an independent pluggable generic storage interface thing for storing and querying events is not only useful for relayer and khatru, but also for writing standalone clients with internal storage or cache and even some other small things like njump -- so it is better if these live in a separate repository.
So I moved stuff into there from both here and from khatru and made them all conform to the same interface. Then I changed the relayer logic to indepedently check if an event can be deleted, as this was previously handled by the storage plugins, which I thought was a mistake.
I think having an independent pluggable generic storage interface thing for storing and querying events is not only useful for relayer and khatru, but also for writing standalone clients with internal storage or cache and even some other small things like njump -- so it is better if these live in a separate repository.
So I moved stuff into there from both here and from khatru and made them all conform to the same interface. Then I changed the relayer logic to indepedently check if an event can be deleted, as this was previously handled by the storage plugins, which I thought was a mistake.
What do you think, @mattn?
(This is still untested.)