forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
17 lines
559 B
Go
17 lines
559 B
Go
package settlement
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/settlement/basic"
|
|
)
|
|
|
|
// AuditProcessor is an interface of data audit fee processor.
|
|
type AuditProcessor interface {
|
|
// Must process data audit conducted in epoch.
|
|
ProcessAuditSettlements(epoch uint64)
|
|
}
|
|
|
|
// BasicIncomeInitializer is an interface of basic income context creator.
|
|
type BasicIncomeInitializer interface {
|
|
// Creates context that processes basic income for provided epoch.
|
|
CreateContext(epoch uint64) (*basic.IncomeSettlementContext, error)
|
|
}
|