helium / oracles

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

use beacon recip table rather than last beacon table for active beaconing gateways #795

Closed andymck closed 5 months ago

andymck commented 5 months ago

Fix for issue https://github.com/helium/oracles/issues/793

This changes the hex density scaler to use the last_beacon_recip table as its source data rather than the last_beacon table. As per #784 the last_beacon_recip table is updated only when a beacon is valid whereas the last_beacon table is updated upon receipt of the last beacon whether than beacon is valid or invalid.

As such since #784 the hex density scaler has been using incorrect data