main ← Aleksman4o:pr/storage-usage-normalization
opened 02:51PM - 24 Jul 26 UTC
## What
- Recover missing daily storage usage points locally using the next val…id
satellite tally and its actual interval.
- Project unresolved trailing gaps from the last known storage rate.
- Mark locally calculated values in the dashboard graph.
- Calculate the storage component of estimated payouts from the same
normalized graph.
## Why
Satellite storage usage averages can contain missing daily tallies. Treating
those entries as zero produces gaps in the dashboard and understates the
estimated storage payout.
This change affects only local dashboard values and payout estimates. It does
not modify raw satellite tallies, submitted orders, or actual payouts
calculated by satellites.
Forum discussion:
https://forum.storj.io/t/massive-estimated-payout-drop/
## Verification
- Raw `AtRestTotal` values remain unchanged.
- Aggregate normalized values equal the sum of per-satellite values.
- Storage payout estimates match the area under the normalized graph.
- Recovered and unresolved gaps were tested on a running storage node.
Tests:
- `go test ./storagenode/storageusage`
- `go test ./storagenode/payouts/estimatedpayouts`
- `go test ./storagenode/console/...`
- `go test ./storagenode/multinode/...`
- `npm run lint-ci`
- `npm run build`