activations

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 5 Imported by: 14

Documentation

Index

Constants

View Source
const (
	TESTNET_COINBASE_PERIOD = iota // 1 -- this is a passing activation and this ID may be reused once that height is passes and the references are removed
	//
	AUTHRORITY_SET_MAX_DELTA = iota
	ACTIVATION_TYPE_COUNT    = iota - 1 // Always Last
)

Variables

This section is empty.

Functions

func IsActive

func IsActive(id ActivationType, height int) bool

IsActive returns whether the input activation is 'on' at the input height

Types

type ActivationType

type ActivationType int

func (ActivationType) String

func (id ActivationType) String() string

String converts an Activation ID to a name

Jump to

Keyboard shortcuts

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