version

package
v3.11.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MainNetChainID uint32 = 1024
	TestNetChainID uint32 = 1023
)

ChainIDs

Variables

This section is empty.

Functions

func InitChainConf

func InitChainConf(conf *common.Config)

InitChainConf ...

func IsFork3_10_0 added in v3.10.1

func IsFork3_10_0(num int64) bool

IsFork3_10_0 ...

func IsFork3_9_0 added in v3.9.1

func IsFork3_9_0(num int64) bool

IsFork3_9_0 ...

Types

type ChainConfig

type ChainConfig struct {
	Block3_9_0  int64
	Block3_10_0 int64
}

ChainConfig ...

type Rules

type Rules struct {
	IsFork3_9_0  bool `json:"is_fork3_9_0"`
	IsFork3_10_0 bool `json:"is_fork3_10_0"`
}

Rules wraps original IsXxx functions

func NewRules

func NewRules(num int64) *Rules

NewRules create Rules for each block

Jump to

Keyboard shortcuts

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