You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.go
+43-43Lines changed: 43 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -67,50 +67,50 @@ var runServiceCommand func(string) error
67
67
//
68
68
// See loadConfig for details on the configuration load process.
69
69
typeconfigstruct {
70
-
ShowVersionbool`short:"V" long:"version" description:"Display version information and exit"`
71
-
ConfigFilestring`short:"C" long:"configfile" description:"Path to configuration file"`
72
-
DataDirstring`short:"b" long:"datadir" description:"Directory to store data"`
73
-
LogDirstring`long:"logdir" description:"Directory to log output."`
74
-
Listenstring`long:"listen" description:"Listen for connections on the specified interface/port (default all interfaces port: 9113, testnet: 19113)"`
75
-
TestNetbool`long:"testnet" description:"Use the test network"`
76
-
SimNetbool`long:"simnet" description:"Use the simulation test network"`
77
-
Profilestring`long:"profile" description:"Enable HTTP profiling on given port -- NOTE port must be between 1024 and 65536"`
78
-
CPUProfilestring`long:"cpuprofile" description:"Write CPU profile to the specified file"`
79
-
MemProfilestring`long:"memprofile" description:"Write mem profile to the specified file"`
80
-
DebugLevelstring`short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
81
-
APISecretstring`long:"apisecret" description:"Secret string used to encrypt API tokens."`
82
-
BaseURLstring`long:"baseurl" description:"BaseURL to use when sending links via email"`
70
+
ShowVersionbool`short:"V" long:"version" description:"Display version information and exit"`
71
+
ConfigFilestring`short:"C" long:"configfile" description:"Path to configuration file"`
72
+
DataDirstring`short:"b" long:"datadir" description:"Directory to store data"`
73
+
LogDirstring`long:"logdir" description:"Directory to log output."`
74
+
Listenstring`long:"listen" description:"Listen for connections on the specified interface/port (default all interfaces port: 9113, testnet: 19113)"`
75
+
TestNetbool`long:"testnet" description:"Use the test network"`
76
+
SimNetbool`long:"simnet" description:"Use the simulation test network"`
77
+
Profilestring`long:"profile" description:"Enable HTTP profiling on given port -- NOTE port must be between 1024 and 65536"`
78
+
CPUProfilestring`long:"cpuprofile" description:"Write CPU profile to the specified file"`
79
+
MemProfilestring`long:"memprofile" description:"Write mem profile to the specified file"`
80
+
DebugLevelstring`short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
81
+
APISecretstring`long:"apisecret" description:"Secret string used to encrypt API tokens."`
82
+
BaseURLstring`long:"baseurl" description:"BaseURL to use when sending links via email"`
83
83
// todo: can `ColdWalletExtPub` and `PoolFees` be read from stakepoold via rpc?
84
-
ColdWalletExtPubstring`long:"coldwalletextpub" description:"The extended public key for addresses to which voting service user fees are sent."`
85
-
ClosePoolbool`long:"closepool" description:"Disable user registration actions (sign-ups and submitting addresses)"`
86
-
ClosePoolMsgstring`long:"closepoolmsg" description:"Message to display when closepool is set."`
87
-
CookieSecretstring`long:"cookiesecret" description:"Secret string used to encrypt session data."`
88
-
CookieSecurebool`long:"cookiesecure" description:"Set whether cookies can be sent in clear text or not."`
89
-
DBHoststring`long:"dbhost" description:"Hostname for database connection"`
90
-
DBUserstring`long:"dbuser" description:"Username for database connection"`
91
-
DBPasswordstring`long:"dbpassword" description:"Password for database connection"`
92
-
DBPortstring`long:"dbport" description:"Port for database connection"`
93
-
DBNamestring`long:"dbname" description:"Name of database"`
94
-
PublicPathstring`long:"publicpath" description:"Path to the public folder which contains css/fonts/images/javascript."`
95
-
TemplatePathstring`long:"templatepath" description:"Path to the views folder which contains html files."`
96
-
PoolEmailstring`long:"poolemail" description:"Email address to for support inquiries"`
97
-
PoolFeesfloat64`long:"poolfees" description:"The per-ticket fees the user must send to the pool with their tickets"`
98
-
PoolLinkstring`long:"poollink" description:"URL for support inquiries such as forum, IRC, etc"`
99
-
RealIPHeaderstring`long:"realipheader" description:"The name of an HTTP request header containing the actual remote client IP address, typically set by a reverse proxy. An empty string (default) indicates to use net/Request.RemodeAddr."`
100
-
SMTPFromstring`long:"smtpfrom" description:"From address to use on outbound mail"`
101
-
SMTPHoststring`long:"smtphost" description:"SMTP hostname/ip and port, e.g. mail.example.com:25"`
102
-
SMTPUsernamestring`long:"smtpusername" description:"SMTP username for authentication if required"`
103
-
SMTPPasswordstring`long:"smtppassword" description:"SMTP password for authentication if required"`
104
-
UseSMTPSbool`long:"usesmtps" description:"Connect to the SMTP server using smtps."`
105
-
SMTPSkipVerifybool`long:"smtpskipverify" description:"Skip SMTP TLS cert verification. Will only skip if SMTPCert is empty"`
106
-
SMTPCertstring`long:"smtpcert" description:"Path for the smtp certificate file"`
107
-
SystemCerts*x509.CertPool
108
-
StakepooldHosts[]string`long:"stakepooldhosts" description:"Hostnames for stakepoold servers"`
109
-
StakepooldCerts[]string`long:"stakepooldcerts" description:"Certificate paths for stakepoold servers"`
110
-
WalletHosts[]string`long:"wallethosts" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
111
-
WalletUsers[]string`long:"walletusers" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
112
-
WalletPasswords[]string`long:"walletpasswords" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
113
-
WalletCerts[]string`long:"walletcerts" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
84
+
ColdWalletExtPubstring`long:"coldwalletextpub" description:"The extended public key for addresses to which voting service user fees are sent."`
85
+
ClosePoolbool`long:"closepool" description:"Disable user registration actions (sign-ups and submitting addresses)"`
86
+
ClosePoolMsgstring`long:"closepoolmsg" description:"Message to display when closepool is set."`
87
+
CookieSecretstring`long:"cookiesecret" description:"Secret string used to encrypt session data."`
88
+
CookieSecurebool`long:"cookiesecure" description:"Set whether cookies can be sent in clear text or not."`
89
+
DBHoststring`long:"dbhost" description:"Hostname for database connection"`
90
+
DBUserstring`long:"dbuser" description:"Username for database connection"`
91
+
DBPasswordstring`long:"dbpassword" description:"Password for database connection"`
92
+
DBPortstring`long:"dbport" description:"Port for database connection"`
93
+
DBNamestring`long:"dbname" description:"Name of database"`
94
+
PublicPathstring`long:"publicpath" description:"Path to the public folder which contains css/fonts/images/javascript."`
95
+
TemplatePathstring`long:"templatepath" description:"Path to the views folder which contains html files."`
96
+
PoolEmailstring`long:"poolemail" description:"Email address to for support inquiries"`
97
+
PoolFeesfloat64`long:"poolfees" description:"The per-ticket fees the user must send to the pool with their tickets"`
98
+
PoolLinkstring`long:"poollink" description:"URL for support inquiries such as forum, IRC, etc"`
99
+
RealIPHeaderstring`long:"realipheader" description:"The name of an HTTP request header containing the actual remote client IP address, typically set by a reverse proxy. An empty string (default) indicates to use net/Request.RemodeAddr."`
100
+
SMTPFromstring`long:"smtpfrom" description:"From address to use on outbound mail"`
101
+
SMTPHoststring`long:"smtphost" description:"SMTP hostname/ip and port, e.g. mail.example.com:25"`
102
+
SMTPUsernamestring`long:"smtpusername" description:"SMTP username for authentication if required"`
103
+
SMTPPasswordstring`long:"smtppassword" description:"SMTP password for authentication if required"`
104
+
UseSMTPSbool`long:"usesmtps" description:"Connect to the SMTP server using smtps."`
105
+
SMTPSkipVerifybool`long:"smtpskipverify" description:"Skip SMTP TLS cert verification. Will only skip if SMTPCert is empty"`
106
+
SMTPCertstring`long:"smtpcert" description:"Path for the smtp certificate file"`
107
+
SystemCerts*x509.CertPool
108
+
StakepooldHosts []string`long:"stakepooldhosts" description:"Hostnames for stakepoold servers"`
109
+
StakepooldCerts []string`long:"stakepooldcerts" description:"Certificate paths for stakepoold servers"`
110
+
WalletHosts []string`long:"wallethosts" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
111
+
WalletUsers []string`long:"walletusers" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
112
+
WalletPasswords []string`long:"walletpasswords" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
113
+
WalletCerts []string`long:"walletcerts" description:"Deprecated: dcrstakepool no longer connects to dcrwallet"`
114
114
// todo: `VotingWalletExtPub` can be read from the vsp backend dcrwallet via stakepoold rpc instead!
115
115
VotingWalletExtPubstring`long:"votingwalletextpub" description:"The extended public key of the default account of the voting wallet"`
0 commit comments