Documentation
¶
Index ¶
- type AlphabetState
- type BalanceClient
- type EpochState
- type MorphClient
- type NetmapClient
- type Params
- type PrecisionConverter
- type Processor
- func (np *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo
- func (np *Processor) ListenerNotaryParsers() []event.NotaryParserInfo
- func (np *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo
- func (np *Processor) ListenerNotificationParsers() []event.NotificationParserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlphabetState ¶
AlphabetState is a callback interface for inner ring global state.
type BalanceClient ¶ added in v0.37.0
type EpochState ¶
type EpochState interface {
EpochCounter() uint64
}
EpochState is a callback interface for inner ring global state.
type MorphClient ¶ added in v0.37.0
type NetmapClient ¶ added in v0.37.0
type NetmapClient interface {
SetConfig(ctx context.Context, p nmClient.SetConfigPrm) error
}
type Params ¶
type Params struct {
Log *logger.Logger
Metrics metrics.Register
PoolSize int
FrostFSContract util.Uint160
BalanceClient BalanceClient
NetmapClient NetmapClient
MorphClient MorphClient
EpochState EpochState
AlphabetState AlphabetState
Converter PrecisionConverter
MintEmitCacheSize int
MintEmitThreshold uint64 // in epochs
MintEmitValue fixedn.Fixed8
GasBalanceThreshold int64
}
Params of the processor constructor.
type PrecisionConverter ¶
PrecisionConverter converts balance amount values.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor of events produced by frostfs contract in main net.
func (*Processor) ListenerNotaryHandlers ¶
func (np *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo
ListenerNotaryHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerNotaryParsers ¶
func (np *Processor) ListenerNotaryParsers() []event.NotaryParserInfo
ListenerNotaryParsers for the 'event.Listener' event producer.
func (*Processor) ListenerNotificationHandlers ¶
func (np *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo
ListenerNotificationHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerNotificationParsers ¶
func (np *Processor) ListenerNotificationParsers() []event.NotificationParserInfo
ListenerNotificationParsers for the 'event.Listener' event producer.
Click to show internal directories.
Click to hide internal directories.