diff options
author | kjj2 <github@jerviss.org> | 2012-09-24 08:39:12 -0500 |
---|---|---|
committer | kjj2 <github@jerviss.org> | 2012-09-24 15:26:04 -0500 |
commit | b202d430762c1b5c9925e948f357c66040f95f10 (patch) | |
tree | 6c2ac2791649f43884ffc7f8a367ee22627b7890 /src/init.cpp | |
parent | 6cbae37667f504d9ecd6173e1eff817d2b7aaf0c (diff) |
Fix: when testnet=1 specified, change default ports to 18332 and 18333
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index dc425da644..8910ed0711 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -272,7 +272,7 @@ std::string HelpMessage() #endif " -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n" + " -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n" + - " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 8332)") + "\n" + + " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)") + "\n" + " -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n" + " -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" + " -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" + |