helper

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGenesis

func InitGenesis(fileLocation string, sprintSize uint64, chainName string) types.Genesis

InitGenesis initializes genesis file from json with sprint size and chain name as configurable inputs

func InitMiner

func InitMiner(ctx context.Context, genesis *types.Genesis, privKey *ecdsa.PrivateKey, withoutHeimdall bool, minerID int) (*node.Node, *eth.Ethereum, error)

InitNode initializes a node with the given genesis file and config

func NewEthConfig

func NewEthConfig() *ethconfig.Config

func NewNodeConfig

func NewNodeConfig() *nodecfg.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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