chains

package
v0.0.0-...-11d2657 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	Hash      common.Hash
	Genesis   *core.Genesis
	Bootnodes []string
	NetworkId uint64
	DNS       []string
}

func GetChain

func GetChain(name string) (*Chain, error)

func GetDeveloperChain

func GetDeveloperChain(period uint64, gasLimitt uint64, faucet common.Address) *Chain

GetDeveloperChain returns the developer mode configs.

func ImportFromFile

func ImportFromFile(filename string) (*Chain, error)

Jump to

Keyboard shortcuts

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