softforks

package
v0.0.0-...-24d451d Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TagToForkInfo map[string]ForkInfo

Functions

func FilterContracts_V2_0_2_14654

func FilterContracts_V2_0_2_14654(orgID, contractName string) bool

func Init

func Init()

explicit call

func V1_0_2_3233

func V1_0_2_3233(blockHeight int64) bool

Fixs bug #2092, only the last reward be shown in block. Adds the softfork to show all of rewards in block

func V2_0_1_13780

func V2_0_1_13780(blockHeight int64) bool

Fixs bug #4281, sdk block hash not equal tendermint block hahs. Adds the softfork to reset sdk block hash

func V2_0_2_14654

func V2_0_2_14654(blockHeight int64) bool

Fixs bug #4251, gas_used showed be sum of all messages in block. Adds the softfork to show all of gas_used in block

Types

type ForkInfo

type ForkInfo struct {
	Tag               string                         `json:"tag,omitempty"`               // Tag, contains the former released version
	BugBlockHeight    int64                          `json:"bugblockheight,omitempty"`    // bug block height
	EffectBlockHeight int64                          `json:"effectblockheight,omitempty"` // Effect Block Height
	Description       string                         `json:"description,omitempty"`       // Description for the fork
	FilterContracts   map[string]map[string]struct{} `json:"filterContracts"`             // Filter contract list
}

具体含义请参考 bcchain.yaml

Jump to

Keyboard shortcuts

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