Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlphabetState ¶
type AlphabetState interface {
IsAlphabet() bool
}
AlphabetState is a callback interface for inner ring global state.
type EpochState ¶
type EpochState interface {
EpochCounter() uint64
}
EpochState is a callback interface for inner ring global state.
type Params ¶
type Params struct {
Log *zap.Logger
PoolSize int
NotaryDisabled bool
ReputationContract util.Uint160
EpochState EpochState
AlphabetState AlphabetState
ReputationWrapper *reputationWrapper.ClientWrapper
}
Params of the processor constructor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor of events produced by reputation contract.
func (*Processor) ListenerHandlers ¶
func (rp *Processor) ListenerHandlers() []event.HandlerInfo
ListenerHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerParsers ¶
func (rp *Processor) ListenerParsers() []event.ParserInfo
ListenerParsers for the 'event.Listener' event producer.
func (*Processor) TimersHandlers ¶
func (rp *Processor) TimersHandlers() []event.HandlerInfo
TimersHandlers for the 'Timers' event producer.
Click to show internal directories.
Click to hide internal directories.