Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ type config struct {
RPCServer string `short:"s" long:"rpcserver" description:"RPC server to connect to"`
WalletRPCServer string `short:"w" long:"walletrpcserver" description:"Wallet RPC server to connect to"`
RPCCert string `short:"c" long:"rpccert" description:"RPC server certificate chain for validation"`
PrintJSON bool `short:"j" long:"json" description:"Print json messages sent and received"`
PrintJSON bool `short:"j" long:"json" description:"Print JSON messages sent and received"`
NoTLS bool `long:"notls" description:"Disable TLS"`
Proxy string `long:"proxy" description:"Connect via SOCKS5 proxy (eg. 127.0.0.1:9050)"`
ProxyUser string `long:"proxyuser" description:"Username for proxy server"`
ProxyPass string `long:"proxypass" default-mask:"-" description:"Password for proxy server"`
TestNet bool `long:"testnet" description:"Connect to testnet"`
SimNet bool `long:"simnet" description:"Connect to the simulation test network"`
TLSSkipVerify bool `long:"skipverify" description:"Do not verify tls certificates (not recommended!)"`
TLSSkipVerify bool `long:"skipverify" description:"Do not verify TLS certificates (not recommended!)"`
Wallet bool `long:"wallet" description:"Connect to wallet"`

AuthType string `long:"authtype" description:"The authorization type in use by the target server" choice:"basic" choice:"clientcert" default:"basic"`
Expand Down
17 changes: 17 additions & 0 deletions sample-dcrctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,20 @@
; RPC server certificate chain file for validation
; rpccert=~/.dcrd/rpc.cert

; Disable TLS
; notls=1

; Do not verify TLS certificates (not recommended!)
; skipverify=1

; Print JSON messages sent and received
; json=1

; The authorization type in use by the target server (basic or clientcert)
; authtype=basic

; Path to TLS certificate for client authentication
; clientcert=~/.dcrctl/client.pem

; Path to TLS client authentication key
; clientkey=~/.dcrctl/client-key.pem
Loading