frostfs-node/pkg/innerring/processors/settlement/handlers.go
Leonard Lyubich 4204a9f920 [] ir: Implement settlement processor
Define a processor of events related to monetary transactions. Define
audit-related event. Provide an interface for processing the audit payout
event.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-29 11:04:30 +03:00

19 lines
336 B
Go

package settlement
import "github.com/nspcc-dev/neofs-node/pkg/util/logger"
type auditEventHandler struct {
log *logger.Logger
epoch uint64
proc AuditProcessor
}
func (p *auditEventHandler) handle() {
p.log.Info("process audit settlements")
p.proc.ProcessAuditSettlements(p.epoch)
p.log.Info("audit processing finished")
}