Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewEvents = event.CreateGroupConstructor(func() (newEvents *Events) { return &Events{ BlockGadget: blockgadget.NewEvents(), SlotGadget: slotgadget.NewEvents(), } })
NewEvents contains the constructor of the Events object (it is generated by a generic factory).
Functions ¶
This section is empty.
Types ¶
type Consensus ¶
type Consensus interface {
Events() *Events
BlockGadget() blockgadget.Gadget
SlotGadget() slotgadget.Gadget
ConflictResolver() *conflictresolver.ConflictResolver
module.Interface
}
type Events ¶
type Events struct {
BlockGadget *blockgadget.Events
SlotGadget *slotgadget.Events
event.Group[Events, *Events]
}
Click to show internal directories.
Click to hide internal directories.