Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHomeDir string
View Source
var Param *param.Param
Functions ¶
Types ¶
type Config ¶
type Config struct { ConfigFile string `long:"config" description:"Start with a configuration file"` Data string `long:"data" description:"Path to application data directory"` Logging bool `long:"logging" description:"Logging switch"` ExternalIp string `long:"externalip" description:"External network IP address"` Boot string `long:"boot" description:"Custom boot"` P2PPort string `long:"p2pport" description:"Add an interface/port to listen for connections"` RpcPort string `long:"rpcport" description:"Add an interface/port to listen for RPC connections"` RpcTLS bool `long:"rpctls" description:"Open TLS for the RPC server -- NOTE: This is only allowed if the RPC server is bound to localhost"` RpcCert string `long:"rpccert" description:"File containing the certificate file"` RpcKey string `long:"rpckey" description:"File containing the certificate key"` RpcPass string `long:"rpcpass" description:"Password for RPC connections"` TestNet bool `long:"testnet" description:"Use the test network"` KeyFile string `long:"keyfile" description:"If you participate in mining, you need to configure the mining address key file"` KeyPass string `long:"keypass" description:"The decryption password for key file"` RollBack uint64 `long:"rollback" description:"Roll back to the previous height"` Version bool `long:"version" description:"View Version number"` Private private.IPrivate }
Config is the node startup parameter
Click to show internal directories.
Click to hide internal directories.