chain

package
v0.3.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Genesis *genutiltypes.AppGenesis
	Seeds   []string
}

Config represents the chain config like genesis file and seeds.

func LoadConfig

func LoadConfig(chainID string) (Config, error)

LoadConfig loads the predefined config for the given chain ID. It returns true if the config was found, false otherwise.

func (Config) Exists

func (c Config) Exists() bool

Jump to

Keyboard shortcuts

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