genesis

package
v3.11.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 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