common

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: ISC Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RPCListeners      cli.StringSlice
	Modules           cli.StringSlice
	MiningAddrs       cli.StringSlice
	BlockMinSize      uint
	BlockMaxSize      uint
	BlockPrioritySize uint
	AddPeers          cli.StringSlice
	BootstrapNodes    cli.StringSlice
	Whitelist         cli.StringSlice
	Blacklist         cli.StringSlice
	GBTNotify         cli.StringSlice

	Flags = []cli.Flag{}/* 103 elements not displayed */

)

Functions

func DefaultConfig added in v1.0.19

func DefaultConfig(homeDir string) *config.Config

func LoadConfig

func LoadConfig(ctx *cli.Context, parsefile bool) (*config.Config, error)

loadConfig initializes and parses the config using a config file and command line options.

func ParseAndSetDebugLevels

func ParseAndSetDebugLevels(debugLevel string) error

parseAndSetDebugLevels attempts to parse the specified debug level and set the levels accordingly. An appropriate error is returned if anything is invalid.

func SetupConfig added in v1.2.0

func SetupConfig(cfg *config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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