Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImportStartHandler ¶
NewImportStartHandler returns a new importStartHandler instance able to control the startup of the import process after a hardfork event
func NewTrigger ¶
func NewTrigger(arg ArgHardforkTrigger) (*trigger, error)
NewTrigger returns the trigger instance
Types ¶
type ArgHardforkTrigger ¶
type ArgHardforkTrigger struct { Enabled bool EnabledAuthenticated bool CloseAfterExportInMinutes uint32 TriggerPubKeyBytes []byte SelfPubKeyBytes []byte ArgumentParser process.ArgumentsParser EpochProvider update.EpochHandler ExportFactoryHandler update.ExportFactoryHandler ChanStopNodeProcess chan endProcess.ArgEndProcess EpochConfirmedNotifier update.EpochChangeConfirmedNotifier ImportStartHandler update.ImportStartHandler RoundHandler update.RoundHandler }
ArgHardforkTrigger contains the
Click to show internal directories.
Click to hide internal directories.