diff --git a/src/init.cpp b/src/init.cpp index 3d6b8434..2ba41b82 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -430,6 +430,8 @@ void SetupServerArgs() gArgs.AddArg("-par=", strprintf("Set the number of script verification threads (%u to %d, 0 = auto, <0 = leave that many cores free, default: %d)", -GetNumCores(), MAX_SCRIPTCHECK_THREADS, DEFAULT_SCRIPTCHECK_THREADS), false, OptionsCategory::OPTIONS); gArgs.AddArg("-persistmempool", strprintf("Whether to save the mempool on shutdown and load on restart (default: %u)", DEFAULT_PERSIST_MEMPOOL), false, OptionsCategory::OPTIONS); + gArgs.AddArg("-masternodeprivkey=", "Set the masternode private key", false, OptionsCategory::OPTIONS); + gArgs.AddArg("-masternodeaddr=", "Set external address:port to get to this masternode.", false, OptionsCategory::OPTIONS); #ifndef WIN32 gArgs.AddArg("-pid=", strprintf("Specify pid file. Relative paths will be prefixed by a net-specific datadir location. (default: %s)", BITCOIN_PID_FILENAME), false, OptionsCategory::OPTIONS); #else diff --git a/src/rpc/masternode.cpp b/src/rpc/masternode.cpp index 729dc651..f16d4d6f 100644 --- a/src/rpc/masternode.cpp +++ b/src/rpc/masternode.cpp @@ -512,6 +512,8 @@ UniValue masternodelist(const JSONRPCRequest& request) " addr - Print ip address associated with a masternode (can be additionally filtered, partial match)\n" " full - Print info in format 'status protocol payee lastseen activeseconds lastpaidtime lastpaidblock IP'\n" " (can be additionally filtered, partial match)\n" + " info - Print info in format 'status protocol payee lastseen activeseconds IP'\n" + " (can be additionally filtered, partial match)\n" " lastpaidblock - Print the last block height a node was paid on the network\n" " lastpaidtime - Print the last time a node was paid on the network\n" " lastseen - Print timestamp of when a masternode was last seen on the network\n"