hardfork

package
v1.0.110 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(router *gin.RouterGroup)

Routes defines node related routes

func Trigger

func Trigger(c *gin.Context)

Trigger will receive a trigger request from the client and propagate it for processing

Types

type TriggerHardforkHandler

type TriggerHardforkHandler interface {
	Trigger() error
	IsSelfTrigger() bool
}

TriggerHardforkHandler interface defines methods that can be used from `elrondFacade` context variable

Jump to

Keyboard shortcuts

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