helium / oracles

Oracles for Helium subDAOs
Apache License 2.0
17 stars 18 forks source link

Mobile Config filter Boosted Hexes #801

Closed michaeldjeffrey closed 2 months ago

michaeldjeffrey commented 2 months ago

This PR builds on top of https://github.com/helium/oracles/pull/798.

Expired Boosted Hexes are filtered when streaming from the DB so Clients don't have to know to ignore Boosted Hexes that should no longer apply.

Because mobile-config will no longer return expired boosted hexes, the BoostedHexes struct will also enforce that limitation in tests where it is used directly.