genesis

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: LGPL-3.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenesisTxExecTime = 3 * time.Second

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

Functions

func FakeBv

func FakeBv(bv global.BaseVariable) error

FakeBv is fake BaseVariable

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