storj/satellite/accounting/projectbwcleanup
Fadila Khadar 63cfc8fbe0 satellite/orders: use project daily bandwidth rollups
Replace GetProjectAllocatedBandwidth by GetProjectBandwidth which calculates
used bandwidth from allocated and settled bandwidth recorded in the
project_bandwidth_daily_rollups table.
For each day in the month, if the allocated bandwidth is expired, it uses the
settled bandwidth for computing used bandwidth.

Change-Id: Ife723c6d5275338f470619631acb25930d39ac3c
2021-05-25 18:28:58 +00:00
..
chore_test.go satellite/orders: use project daily bandwidth rollups 2021-05-25 18:28:58 +00:00
chore.go satellite/orders: use project daily bandwidth rollups 2021-05-25 18:28:58 +00:00