strUsage+=HelpMessageOpt("-?",_("This help message"));
strUsage+=HelpMessageOpt("-?",_("This help message"));
@ -38,7 +40,7 @@ std::string HelpMessageCli()
AppendParamsHelpMessages(strUsage);
AppendParamsHelpMessages(strUsage);
strUsage+=HelpMessageOpt("-named",strprintf(_("Pass named instead of positional arguments (default: %s)"),DEFAULT_NAMED));
strUsage+=HelpMessageOpt("-named",strprintf(_("Pass named instead of positional arguments (default: %s)"),DEFAULT_NAMED));
strUsage+=HelpMessageOpt("-rpcconnect=<ip>",strprintf(_("Send commands to node running on <ip> (default: %s)"),DEFAULT_RPCCONNECT));
strUsage+=HelpMessageOpt("-rpcconnect=<ip>",strprintf(_("Send commands to node running on <ip> (default: %s)"),DEFAULT_RPCCONNECT));
strUsage+=HelpMessageOpt("-rpcport=<port>",strprintf(_("Connect to JSON-RPC on <port> (default: %u or testnet: %u)"),BaseParams(CBaseChainParams::MAIN).RPCPort(),BaseParams(CBaseChainParams::TESTNET).RPCPort()));
strUsage+=HelpMessageOpt("-rpcport=<port>",strprintf(_("Connect to JSON-RPC on <port> (default: %u or testnet: %u)"),defaultBaseParams->RPCPort(),testnetBaseParams->RPCPort()));
strUsage+=HelpMessageOpt("-rpcwait",_("Wait for RPC server to start"));
strUsage+=HelpMessageOpt("-rpcwait",_("Wait for RPC server to start"));
strUsage+=HelpMessageOpt("-rpcuser=<user>",_("Username for JSON-RPC connections"));
strUsage+=HelpMessageOpt("-rpcuser=<user>",_("Username for JSON-RPC connections"));
strUsage+=HelpMessageOpt("-rpcpassword=<pw>",_("Password for JSON-RPC connections"));
strUsage+=HelpMessageOpt("-rpcpassword=<pw>",_("Password for JSON-RPC connections"));
strUsage+=HelpMessageOpt("-rpcuser=<user>",_("Username for JSON-RPC connections"));
strUsage+=HelpMessageOpt("-rpcuser=<user>",_("Username for JSON-RPC connections"));
strUsage+=HelpMessageOpt("-rpcpassword=<pw>",_("Password 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. The client then connects normally using the rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This option can be specified multiple times"));
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. The client then connects normally using the rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This option can be specified multiple times"));
strUsage+=HelpMessageOpt("-rpcport=<port>",strprintf(_("Listen for JSON-RPC connections on <port> (default: %u or testnet: %u)"),BaseParams(CBaseChainParams::MAIN).RPCPort(),BaseParams(CBaseChainParams::TESTNET).RPCPort()));
strUsage+=HelpMessageOpt("-rpcport=<port>",strprintf(_("Listen for JSON-RPC connections on <port> (default: %u or testnet: %u)"),defaultBaseParams->RPCPort(),testnetBaseParams->RPCPort()));
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("-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("-rpcserialversion",strprintf(_("Sets the serialization of raw transaction or block hex returned in non-verbose mode, non-segwit(0) or segwit(1) (default: %d)"),DEFAULT_RPC_SERIALIZE_VERSION));
strUsage+=HelpMessageOpt("-rpcserialversion",strprintf(_("Sets the serialization of raw transaction or block hex returned in non-verbose mode, non-segwit(0) or segwit(1) (default: %d)"),DEFAULT_RPC_SERIALIZE_VERSION));
strUsage+=HelpMessageOpt("-rpcthreads=<n>",strprintf(_("Set the number of threads to service RPC calls (default: %d)"),DEFAULT_HTTP_THREADS));
strUsage+=HelpMessageOpt("-rpcthreads=<n>",strprintf(_("Set the number of threads to service RPC calls (default: %d)"),DEFAULT_HTTP_THREADS));