fork

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetForkPoints

func GetForkPoints() config.ForkPoints

func GetRecentForkName

func GetRecentForkName(blockHeight uint64) string

func IsMintFork added in v1.3.0

func IsMintFork(blockHeight uint64) bool

func IsSmartFork

func IsSmartFork(blockHeight uint64) bool

func SetForkPoints

func SetForkPoints(points *config.ForkPoints)

Types

type ForkPointItem

type ForkPointItem struct {
	config.ForkPoint
	// contains filtered or unexported fields
}

type ForkPointList

type ForkPointList []*ForkPointItem

func (ForkPointList) Len

func (a ForkPointList) Len() int

func (ForkPointList) Less

func (a ForkPointList) Less(i, j int) bool

func (ForkPointList) Swap

func (a ForkPointList) Swap(i, j int)

Jump to

Keyboard shortcuts

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