genesis

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 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 (
	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