trigger

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImportStartHandler

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