genesis

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockVersion uint32 = 0
	GenesisNonce uint64 = 2083236893
)

Variables

View Source
var (
	GasToken   = newUtilityToken()
	GASTokenID = GasToken.Hash()
)
View Source
var GenesisBookkeepers []keypair.PublicKey
View Source
var INIT_PARAM = map[string]string{
	"gasPrice": "0",
}

Functions

func BuildGenesisBlock

func BuildGenesisBlock(defaultBookkeeper []keypair.PublicKey, genesisConfig *config.GenesisConfig) (*types.Block, error)

BuildGenesisBlock returns the genesis block with default consensus bookkeeper list

Types

This section is empty.

Jump to

Keyboard shortcuts

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