https://github.com/bitcoin/bitcoin/issues/15555#issuecomment-479346264
{
    if (jsonRequest.fHelp || jsonRequest.params.size() > 0)
        throw std::runtime_error(
            RPCHelpMan{"uptime",
                "\nReturns the total uptime of the server.\n",
                            {},
                            RPCResult{
                        "ttt        (numeric) The number of seconds that the server has been running\n"
                            },
                RPCExamples{
                    HelpExampleCli("uptime", "")
                + HelpExampleRpc("uptime", "")
                },
            }.ToString());
    return GetTime() - GetStartupTime();
}
static UniValue getrpcinfo(const JSONRPCRequest& request)