Documentation ¶
Index ¶
Constants ¶
View Source
const ( ELECTION_NO_SORT = iota // 1 -- this is a passing activation and this ID may be reused once that height is passes and the references are removed TESTNET_COINBASE_PERIOD = iota // 2 -- this is a passing activation and this ID may be reused once that height is passes and the references are removed // ACTIVATION_TYPE_COUNT = iota - 1 // Always Last )
Variables ¶
View Source
var ActivationMap map[ActivationType]Activation
View Source
var ActivationNameMap map[ActivationType]string
Functions ¶
func IsActive ¶
func IsActive(id ActivationType, height int) bool
Types ¶
type Activation ¶
type ActivationType ¶
type ActivationType int
func (ActivationType) String ¶
func (id ActivationType) String() string
convert an Activation ID to a name
Click to show internal directories.
Click to hide internal directories.