genesis

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: LGPL-3.0 Imports: 17 Imported by: 33

Documentation

Index

Constants

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

Variables

View Source
var (
	ONTToken   = newGoverningToken()
	ONGToken   = newUtilityToken()
	ONTTokenID = ONTToken.Hash()
	ONGTokenID = ONGToken.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