diff options
author | Gregory Maxwell <greg@xiph.org> | 2015-11-30 12:05:56 -0800 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2015-11-30 12:25:28 -0800 |
commit | 438ee59839ad49bf629452279478462c987b7137 (patch) | |
tree | d5b311693784348db81dcef98b145c60d6bd2be4 /src/init.cpp | |
parent | 34e02e0147188a7e364489db23128a05505e7a4c (diff) | |
parent | d52fbf00e32fb0565652c9a62cdaf2bc1e2dddf0 (diff) |
Merge pull request #7044
d52fbf0 Added additional config option for multiple RPC users. (Gregory Sanders)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 01c7189675..3fd60abfc2 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -491,6 +491,7 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += HelpMessageOpt("-rpcbind=<addr>", _("Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6. This option can be specified multiple times (default: bind to all interfaces)")); strUsage += HelpMessageOpt("-rpcuser=<user>", _("Username for JSON-RPC connections")); strUsage += HelpMessageOpt("-rpcpassword=<pw>", _("Password for JSON-RPC connections")); + strUsage += HelpMessageOpt("-rpcauth=<userpw>", _("Username and hashed password for JSON-RPC connections. The field <userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A canonical python script is included in share/rpcuser. This option can be specified multiple times")); strUsage += HelpMessageOpt("-rpcport=<port>", strprintf(_("Listen for JSON-RPC connections on <port> (default: %u or testnet: %u)"), 8332, 18332)); strUsage += HelpMessageOpt("-rpcallowip=<ip>", _("Allow JSON-RPC connections from specified source. Valid for <ip> are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24). This option can be specified multiple times")); strUsage += HelpMessageOpt("-rpcthreads=<n>", strprintf(_("Set the number of threads to service RPC calls (default: %d)"), DEFAULT_HTTP_THREADS)); |