Remove redundant type information from rpc docs

Co-Authored-By: MarcoFalke <falke.marco@gmail.com>
This commit is contained in:
David O'Callaghan
2020-03-05 10:36:27 +00:00
parent ac61ec9da6
commit 8a2a652e6f
4 changed files with 24 additions and 24 deletions

View File

@@ -339,7 +339,7 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
" https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes\n"
" https://github.com/bitcoin/bips/blob/master/bip-0145.mediawiki\n",
{
{"template_request", RPCArg::Type::OBJ, "{}", "A json object in the following spec",
{"template_request", RPCArg::Type::OBJ, "{}", "Format of the template",
{
{"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"},
{"capabilities", RPCArg::Type::ARR, /* treat as named arg */ RPCArg::Optional::OMITTED_NAMED_ARG, "A list of strings",