defaults

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppName = getAppName()

	DefaultDataDir        = getAppCurrentDir()
	DefaultTOMLConfigPath = getAppCurrentDir() + "/" + "config"
	DefaultLogPath        = getAppCurrentDir() + "/log/" + AppName + ".log"
	DefaultLogLevel       = "info"
	DefaultNodeName       = AppName
	DefaultKeystore       = getAppCurrentDir() + "/" + "keystore"
	DefaultNodePort       = 36180

	//Rpc
	DefaultHttpModules = "bchain,personal,txpool"
	DefaultHttpHost    = "localhost"
	DefaultHttpPort    = 8989
	//Miner
	DefaultBlockproducerStart = false
	//Net
	DefaultWorkingNet = "alpha"
)

Functions

func PrintAllDefalts

func PrintAllDefalts()

Types

This section is empty.

Jump to

Keyboard shortcuts

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