helium / oracles

Oracles for Helium subDAOs
Apache License 2.0
19 stars 21 forks source link

Abstract data set processing to a trait #826

Closed maplant closed 3 months ago

maplant commented 3 months ago

This PR abstracts out the data set processing part of the DataSetDownloader into a separate trait. There are two implementers, FileSinkClient and NopDataSetProcessor. This is so that the DataSetDownloader can be used without processing the data. The implementer of this trait being FileSinkClient is because you would only want to supply a file sink if you are processing the data.