fork

package
v1.2.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: GPL-3.0 Imports: 3 Imported by: 39

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 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