ergoplatform / oracle-core

Core off-chain component of Oracle Pools
Apache License 2.0
62 stars 37 forks source link

Fix pool active oracles and oracle health metrics lagging when pool is down #309

Closed greenhat closed 1 year ago

greenhat commented 1 year ago

Close #307 Close #308

Determine oracle health and active oracles count in the pool based on the last oracle's box height rather than pool box height.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 5692625648


Changes Missing Coverage Covered Lines Changed/Added Lines %
core/src/metrics.rs 0 2 0.0%
core/src/api.rs 0 4 0.0%
core/src/monitor.rs 0 14 0.0%
<!-- Total: 0 20 0.0% -->
Files with Coverage Reduction New Missed Lines %
core/src/api.rs 2 0%
core/src/monitor.rs 3 0%
<!-- Total: 5 -->
Totals Coverage Status
Change from base Build 5643433554: -0.2%
Covered Lines: 2093
Relevant Lines: 3844

💛 - Coveralls