storj/satellite/payments/billing/billing.go
dlamarmorgan f596f72f44 satellite/payments/storjscan: add billing update to chore
Update chore to add confirmed transactions to the billing table.

Change-Id: I3c9a98c2ddc96f8a8905250376a1f5490d810277
2022-08-16 11:18:15 -07:00

19 lines
526 B
Go

// Copyright (C) 2022 Storj Labs, Inc.
// See LICENSE for copying information.
package billing
import (
"time"
"github.com/spacemonkeygo/monkit/v3"
)
var mon = monkit.Package()
// Config stores needed information for billing service initialization.
type Config struct {
Interval time.Duration `help:"billing chore interval to query for new transactions from all payment types" default:"1m"`
DisableLoop bool `help:"flag to disable querying for new billing transactions by billing chore" default:"true"`
}