storj/pkg/accounting/common.go
Jennifer Li Johnson 6642f97142
Jj/accounting updates (#820)
* tallies up data stored on each node in pointerdb

* adds comments for data type enums

* changes Open to BeginTx because Go convention

* removes online status check from identify active nodes

* changes identifyactivenodes to calculatestaticdata

* updates accounting dbx names
2018-12-12 16:24:08 -05:00

13 lines
348 B
Go

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
package accounting
// data_type enums for accounting_raw and accounting_rollup
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
)