Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlphabetState ¶ added in v0.18.0
type AlphabetState interface {
IsAlphabet() bool
}
AlphabetState is a callback interface for inner ring global state.
type NetworkState ¶ added in v0.21.1
type NetworkState interface {
// Epoch must return number of the current epoch.
//
// Must return any error encountered
// which did not allow reading the value.
Epoch() (uint64, error)
}
NetworkState is an interface of a component that provides access to network state.
type Params ¶
type Params struct {
Log *zap.Logger
PoolSize int
ContainerContract util.Uint160
MorphClient *client.Client
AlphabetState AlphabetState
FeeProvider *config.FeeConfig
ContainerClient *wrapper.Wrapper
NeoFSIDClient *neofsid.ClientWrapper
NetworkState NetworkState
}
Params of the processor constructor.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor of events produced by container contract in morph chain.
func (*Processor) ListenerHandlers ¶
func (cp *Processor) ListenerHandlers() []event.HandlerInfo
ListenerHandlers for the 'event.Listener' event producer.
func (*Processor) ListenerParsers ¶
func (cp *Processor) ListenerParsers() []event.ParserInfo
ListenerParsers for the 'event.Listener' event producer.
func (*Processor) TimersHandlers ¶
func (cp *Processor) TimersHandlers() []event.HandlerInfo
TimersHandlers for the 'Timers' event producer.
Click to show internal directories.
Click to hide internal directories.