Documentation ¶
Index ¶
- func CheckForkPoints(points config.ForkPoints) error
- func GetForkPoints() config.ForkPoints
- func GetRecentForkName(blockHeight uint64) string
- func IsForkPoint(snapshotHeight uint64) bool
- func IsInit() bool
- func IsSeedFork(snapshotHeight uint64) bool
- func SetForkPoints(points *config.ForkPoints)
- type ForkPointItem
- type ForkPointList
- type ForkPointMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForkPoints ¶
func CheckForkPoints(points config.ForkPoints) error
func GetForkPoints ¶
func GetForkPoints() config.ForkPoints
func SetForkPoints ¶
func SetForkPoints(points *config.ForkPoints)
Types ¶
type ForkPointItem ¶
type ForkPointList ¶
type ForkPointList []*ForkPointItem
func GetForkPointList ¶
func GetForkPointList() ForkPointList
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)
type ForkPointMap ¶
type ForkPointMap map[string]*ForkPointItem
Click to show internal directories.
Click to hide internal directories.