repo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Network config name
	NetworkConfigName = "network.toml"
	// BitXHub config name
	BitXHubConfigName = "bitxhub.toml"
	// Genesis config name
	GenesisConfigName = "genesis.json"

	// Agency name
	AgencyName = "agency"
	// key name
	KeyName = "key.json"
	// NodeKeyName
	NodeKeyName = "node.priv"
	// Pier config name
	PierConfigName = "pier.toml"
	// KeyPassword
	KeyPassword = "bitxhub"
	// private key name
	KeyPriv = "key"
	// proposal strategy: simple majority
	SimpleMajority = "SimpleMajority"
)

Variables

This section is empty.

Functions

func GetCACertPath

func GetCACertPath(dir string) string

func GetCAPrivKeyPath

func GetCAPrivKeyPath(dir string) string

func GetCSRPath

func GetCSRPath(name, dir string) string

func GetCertPath

func GetCertPath(name, dir string) string

func GetPrivKeyPath

func GetPrivKeyPath(name, dir string) string

func PathRoot

func PathRoot() (string, error)

func PathRootWithDefault

func PathRootWithDefault(path string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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