Skip to content

Commit

Permalink
Fix all rpclisten references in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jyap808 committed Mar 17, 2016
1 parent 27aff8e commit 1aa7293
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ type config struct {
RPCKey string `long:"rpckey" description:"File containing the certificate key"`
OneTimeTLSKey bool `long:"onetimetlskey" description:"Generate a new TLS certpair at startup, but only write the certificate to disk"`
DisableServerTLS bool `long:"noservertls" description:"Disable TLS for the RPC server -- NOTE: This is only allowed if the RPC server is bound to localhost"`
LegacyRPCListeners []string `long:"rpclisten" description:"Listen for legacy RPC connections on this interface/port (default port: 19110, mainnet: 9110, simnet: 18557)"`
LegacyRPCListeners []string `long:"rpclisten" description:"Listen for legacy RPC connections on this interface/port (default port: 9110, testnet: 19110, simnet: 18557)"`
LegacyRPCMaxClients int64 `long:"rpcmaxclients" description:"Max number of legacy RPC clients for standard connections"`
LegacyRPCMaxWebsockets int64 `long:"rpcmaxwebsockets" description:"Max number of legacy RPC websocket connections"`
Username string `short:"u" long:"username" description:"Username for legacy RPC and dcrd authentication (if dcrdusername is unset)"`
Expand Down
2 changes: 1 addition & 1 deletion rpc/documentation/clientusage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dcrwallet itself.

The rest of this document provides short examples of how to quickly get started
by implementing a basic client that fetches the balance of the default account
(account 0) from a testnet3 wallet listening on `localhost:19110` in several
(account 0) from a testnet wallet listening on `localhost:19110` in several
different languages:

- [Go](#go)
Expand Down
10 changes: 5 additions & 5 deletions sample-dcrwallet.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@
; rpclisten= ; all interfaces on default port
; rpclisten=0.0.0.0 ; all ipv4 interfaces on default port
; rpclisten=:: ; all ipv6 interfaces on default port
; rpclisten=:19110 ; all interfaces on port 19110
; rpclisten=0.0.0.0:19110 ; all ipv4 interfaces on port 19110
; rpclisten=[::]:19110 ; all ipv6 interfaces on port 19110
; rpclisten=127.0.0.1:19110 ; only ipv4 localhost on port 19110 (this is a default)
; rpclisten=[::1]:19110 ; only ipv6 localhost on port 19110 (this is a default)
; rpclisten=:9110 ; all interfaces on port 9110
; rpclisten=0.0.0.0:9110 ; all ipv4 interfaces on port 9110
; rpclisten=[::]:9110 ; all ipv6 interfaces on port 9110
; rpclisten=127.0.0.1:9110 ; only ipv4 localhost on port 9110 (this is a default)
; rpclisten=[::1]:9110 ; only ipv6 localhost on port 9110 (this is a default)
; rpclisten=127.0.0.1:18337 ; only ipv4 localhost on non-standard port 18337
; rpclisten=:18337 ; all interfaces on non-standard port 18337
; rpclisten=0.0.0.0:18337 ; all ipv4 interfaces on non-standard port 18337
Expand Down

0 comments on commit 1aa7293

Please sign in to comment.