Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EpochTimer is a type for HandlerInfo structure. EpochTimer = "EpochTimer" // AlphabetTimer is a type for HandlerInfo structure. AlphabetTimer = "AlphabetTimer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewAlphabetEmitTick ¶ added in v0.12.0
type NewAlphabetEmitTick struct{}
NewAlphabetEmitTick is a event for gas emission from alphabet contract.
func (NewAlphabetEmitTick) MorphEvent ¶ added in v0.12.0
func (NewAlphabetEmitTick) MorphEvent()
MorphEvent implements Event interface.
type NewEpochTick ¶
type NewEpochTick struct{}
NewEpochTick is a new epoch local ticker event.
func (NewEpochTick) MorphEvent ¶
func (NewEpochTick) MorphEvent()
MorphEvent implements Event interface.
type Timers ¶
type Timers struct {
// contains filtered or unexported fields
}
Timers is a component for local inner ring timers to produce local events.
func (*Timers) RegisterHandler ¶
func (t *Timers) RegisterHandler(h event.HandlerInfo) error
RegisterHandler of local timers events.
func (*Timers) ResetEpochTimer ¶
func (t *Timers) ResetEpochTimer()
ResetEpochTimer to start it again when event has been processed.
Click to show internal directories.
Click to hide internal directories.