Closed rfechtner closed 10 months ago
Hello. Sure, send a PR.
I suppose you should take a look at the benches first. Because they are external to the crate and I never had limitations related to privacy.
Hi @bwsw, I have checked but non of the benchmarking examples use the TrackerAPI
as they use the pre-implemented versions of Trackers (Using it only to bring the trait into scope, but not to implement a custom tracker as a extension).
I have seen that you already created an PR #107 making the EpochDB
trait public, thanks for that! I will continue making some tests, maybe I can add a usage example to it.
@rfechtner yes, I will fix the CI/CD and craft a new release soon.
Hi,
I would like to implement a custom Tracker using the TrackerAPI, whose signature is
while the trait is public, the module containing the definition is not trackers.rs:
Using the pre-implemented
SortAttributesOptions
is also not possible as the trait's functions are also private, ie.epoch_db()
ornext_epoch()
, therefor I can't use them in my custom implementation without bringingEpochDb
into scope.Is the
EpochDB
mod deliberately private or I missing something in the API design? Or could we just:Cheers