Documentation ¶
Index ¶
- Constants
- func GetCACertPath(dir string) string
- func GetCAPrivKeyPath(dir string) string
- func GetCSRPath(name, dir string) string
- func GetCertPath(name, dir string) string
- func GetPrivKeyPath(name, dir string) string
- func PathRoot() (string, error)
- func PathRootWithDefault(path string) (string, error)
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 GetCAPrivKeyPath ¶
func GetCSRPath ¶
func GetCertPath ¶
func GetPrivKeyPath ¶
func PathRootWithDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.