Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMinRelayTxFee = int64(2e5) WalletDbName = "wallet.db" )
Variables ¶
View Source
var ( DefaultConfigFile = filepath.Join("./", defaultConfigFilename) SampleConfigFile = filepath.Join("./", sampleConfigFilename) )
View Source
var ActiveNet = ¶ms.MainNetParams
View Source
var Cfg = NewDefaultConfig()
Functions ¶
func LoadConfig ¶
Types ¶
type Config ¶
type Config struct { ConfigFile string AppDataDir string DebugLevel string LogDir string Create bool Version bool `short:"V" long:"version" description:"Display version information and exit"` Network string //WalletRPC UI bool Listeners []string RPCUser string RPCPass string RPCCert string RPCKey string RPCMaxClients int64 DisableRPC bool DisableTLS bool Confirmations uint32 // tx fee MinTxFee int64 //walletAPI APIs []string //Qitmeerd QServer string QUser string QPass string QCert string QNoTLS bool QTLSSkipVerify bool QProxy string QProxyUser string QProxyPass string WalletPass string `short:"w" long:"wp" description:"Path to configuration file"` //qitmeerd RPC QitmeerdSelect string Qitmeerds []*client.Config }
Config wallet config
func NewDefaultConfig ¶
func NewDefaultConfig() (cfg *Config)
NewDefaultConfig make config by default value
Click to show internal directories.
Click to hide internal directories.