499@@ -500,12 +500,13 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
500 {"mode", RPCArg::Type::STR, /* treat as named arg */ RPCArg::Optional::OMITTED_NAMED_ARG, "This must be set to \"template\", \"proposal\" (see BIP 23), or omitted"},
501 {"capabilities", RPCArg::Type::ARR, /* treat as named arg */ RPCArg::Optional::OMITTED_NAMED_ARG, "A list of strings",
502 {
503- {"support", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "client side supported feature, 'longpoll', 'coinbasetxn', 'coinbasevalue', 'proposal', 'serverlist', 'workid'"},
504+ {"str", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "client side supported feature, 'longpoll', 'coinbasevalue', 'proposal', 'serverlist', 'workid'"},
nit: I would have named this feature
to be more expressive
The rest of our RPC doc uses “str” for things like this…
Where can I find that? Maybe I am doing something wrong but git grep "RPCArg::Type::STR" | grep "\"str\""
gives me no results.