genesis

package
v0.0.0-...-376a440 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 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 *config.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