diff options
| author | Jonas Schnelli <[email protected]> | 2014-11-26 13:53:27 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2014-11-26 13:53:27 +0100 |
| commit | 5dc713bfc7bf98c8e1d80fec9c5f5e0417a2bdcd (patch) | |
| tree | 9f2a42987406cfbe1ce26605fe1273229721c425 /src/init.cpp | |
| parent | [REST] give an appropriate response in warmup phase (diff) | |
| download | discoin-5dc713bfc7bf98c8e1d80fec9c5f5e0417a2bdcd.tar.xz discoin-5dc713bfc7bf98c8e1d80fec9c5f5e0417a2bdcd.zip | |
[REST] set REST API behind "-rest" option
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 b73c6e872..63e72c66d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -352,6 +352,7 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += "\n" + _("RPC server options:") + "\n"; strUsage += " -server " + _("Accept command line and JSON-RPC commands") + "\n"; + strUsage += " -rest " + strprintf(_("Accept public REST requests (default: %u)"), 0) + "\n"; strUsage += " -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)") + "\n"; strUsage += " -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n"; strUsage += " -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n"; |