trigger

package
v1.0.128 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTrigger

func NewTrigger(arg ArgHardforkTrigger) (*trigger, error)

NewTrigger returns the trigger instance

Types

type ArgHardforkTrigger

type ArgHardforkTrigger struct {
	TriggerPubKeyBytes        []byte
	SelfPubKeyBytes           []byte
	Enabled                   bool
	EnabledAuthenticated      bool
	ArgumentParser            process.ArgumentsParser
	EpochProvider             update.EpochHandler
	ExportFactoryHandler      update.ExportFactoryHandler
	CloseAfterExportInMinutes uint32
	ChanStopNodeProcess       chan endProcess.ArgEndProcess
	EpochConfirmedNotifier    update.EpochChangeConfirmedNotifier
}

ArgHardforkTrigger contains the

Jump to

Keyboard shortcuts

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