genesis

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGenesisBlock

func CreateGenesisBlock(chainID, difficulty, defaultBalance int64, gasLimit uint64, accounts []common.Address) (core.Genesis, error)

CreateGenesisBlock generates a genesis block with the given configuration For more information, look at the Genesis struct: https://github.com/ethereum/go-ethereum/blob/v1.8.12/core/genesis.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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