genesis

package
v0.0.0-...-3c16dfa Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 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 (
	ONXToken   = newGoverningToken()
	OXGToken   = newUtilityToken()
	ONXTokenID = ONXToken.Hash()
	OXGTokenID = OXGToken.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