config

package
v4.0.0-...-b8b0360 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BETANET = "betanet"

Variables

This section is empty.

Functions

func ToHex

func ToHex(data string) []byte

Types

type ChainSetting

type ChainSetting struct {
	Name                  string
	GenesisForkVersion    []byte
	GenesisValidatorsRoot []byte
}

type Config

type Config struct {
	ChainSettings map[string]*ChainSetting

	DomainDeposit [4]byte
}

func GetConfig

func GetConfig() *Config

Jump to

Keyboard shortcuts

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