trigger

package
v1.2.31-indexer1.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImportStartHandler added in v1.0.133

func NewImportStartHandler(workingDir string, version string) (*importStartHandler, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL