2018-12-12 21:24:08 +00:00
|
|
|
// Copyright (C) 2018 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package accounting
|
|
|
|
|
2018-12-18 17:18:42 +00:00
|
|
|
// Constants for accounting_raw, accounting_rollup, and accounting_timestamps
|
2018-12-12 21:24:08 +00:00
|
|
|
const (
|
|
|
|
// AtRest is the data_type representing at-rest data calculated from pointerdb
|
|
|
|
AtRest = iota
|
|
|
|
// Bandwidth is the data_type representing bandwidth allocation.
|
|
|
|
Bandwith = iota
|
2018-12-18 17:18:42 +00:00
|
|
|
// LastAtRestTally represents the accounting timestamp for the at-rest data calculation
|
|
|
|
LastAtRestTally = "LastAtRestTally"
|
|
|
|
// LastBandwidthTally represents the accounting timestamp for the bandwidth allocation query
|
|
|
|
LastBandwidthTally = "LastBandwidthTally"
|
2018-12-12 21:24:08 +00:00
|
|
|
)
|