mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Fix: when testnet=1 specified, change default ports to 18332 and 18333
This commit is contained in:
@@ -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" +
|
||||
|
||||
Reference in New Issue
Block a user