genesis

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenesisTxExecTime = 10 * time.Second

GenesisTxExecTime is the maximum execution time of a transaction in genesis block

Functions

func GenGenesis

func GenGenesis(db db.MVCCDB, gConf *common.GenesisConfig) (*block.Block, error)

GenGenesis is create a genesis block

func GenGenesisByFile

func GenGenesisByFile(db db.MVCCDB, path string) (*block.Block, error)

GenGenesisByFile is create a genesis block by config file

Types

This section is empty.

Jump to

Keyboard shortcuts

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