Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveState ¶
type ActiveState interface {
IsActive() bool
}
ActiveState is a callback interface for inner ring global state.
type EpochState ¶
EpochState is a callback interface for inner ring global state.
type EpochTimerReseter ¶
type EpochTimerReseter interface {
ResetEpochTimer()
}
EpochTimerReseter is a callback interface for tickers component.
type Params ¶
type Params struct { Log *zap.Logger PoolSize int NetmapContract util.Uint160 EpochTimer EpochTimerReseter MorphClient *client.Client EpochState EpochState ActiveState ActiveState }
Params of the processor constructor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor of events produced by network map contract and new epoch ticker, because it is related to contract.
func (*Processor) ListenerHandlers ¶
func (np *Processor) ListenerHandlers() []event.HandlerInfo
ListenerHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerParsers ¶
func (np *Processor) ListenerParsers() []event.ParserInfo
ListenerParsers for the 'event.Listener' event producer.
func (*Processor) TimersHandlers ¶
func (np *Processor) TimersHandlers() []event.HandlerInfo
TimersHandlers for the 'Timers' event producer.
Click to show internal directories.
Click to hide internal directories.