diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -608,7 +608,7 @@ {"template_request", RPCArg::Type::OBJ, "{}", - "A json object in the following spec", + "Format of the template", { {"mode", RPCArg::Type::STR, /* treat as named arg */ RPCArg::Optional::OMITTED_NAMED_ARG, diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -94,7 +94,7 @@ {"keys", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of hex-encoded public keys.", + "The hex-encoded public keys.", { {"key", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "The hex-encoded public key"}, @@ -652,7 +652,7 @@ {"include", RPCArg::Type::ARR, RPCArg::Optional::OMITTED_NAMED_ARG, - "A json array of categories to add debug logging", + "The categories to add to debug logging", { {"include_category", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "the valid logging category"}, @@ -660,7 +660,7 @@ {"exclude", RPCArg::Type::ARR, RPCArg::Optional::OMITTED_NAMED_ARG, - "A json array of categories to remove debug logging", + "The categories to remove from debug logging", { {"exclude_category", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "the valid logging category"}, diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -282,7 +282,7 @@ "txids", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of txids to filter", + "The txids to filter", { {"txid", RPCArg::Type::STR_HEX, RPCArg::Optional::OMITTED, "A transaction hash"}, @@ -459,7 +459,7 @@ "inputs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of json objects", + "The inputs", { { "", @@ -482,7 +482,7 @@ "outputs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "a json array with outputs (key-value pairs), where none of " + "The outputs (key-value pairs), where none of " "the keys are duplicated.\n" "That is, each address can only appear once and there can only " "be one 'data' object.\n" @@ -729,7 +729,7 @@ "txs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of hex strings of partially signed " + "The hex strings of partially signed " "transactions", { {"hexstring", RPCArg::Type::STR_HEX, @@ -832,7 +832,7 @@ "privkeys", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of base58-encoded private keys for signing", + "The base58-encoded private keys for signing", { {"privatekey", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "private key in base58-encoding"}, @@ -842,7 +842,7 @@ "prevtxs", RPCArg::Type::ARR, RPCArg::Optional::OMITTED_NAMED_ARG, - "A json array of previous dependent transaction outputs", + "The previous dependent transaction outputs", { { "", @@ -1520,8 +1520,7 @@ "txs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of base64 strings of partially signed " - "transactions", + "The base64 strings of partially signed transactions", { {"psbt", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "A base64 string of a PSBT"}, @@ -1646,7 +1645,7 @@ "inputs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of json objects", + "The json objects", { { "", @@ -1669,7 +1668,7 @@ "outputs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "a json array with outputs (key-value pairs), where none of " + "The outputs (key-value pairs), where none of " "the keys are duplicated.\n" "That is, each address can only appear once and there can only " "be one 'data' object.\n" @@ -1922,7 +1921,7 @@ {{"txs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of base64 strings of partially signed transactions", + "The base64 strings of partially signed transactions", {{"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "A base64 string of a PSBT"}}}}, RPCResult{RPCResult::Type::STR, "", diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -920,7 +920,7 @@ "amounts", RPCArg::Type::OBJ, RPCArg::Optional::NO, - "A json object with addresses and amounts", + "The addresses and amounts", { {"address", RPCArg::Type::AMOUNT, RPCArg::Optional::NO, "The bitcoin address is the key, the numeric amount (can " @@ -936,7 +936,7 @@ "subtractfeefrom", RPCArg::Type::ARR, RPCArg::Optional::OMITTED_NAMED_ARG, - "A json array with addresses.\n" + "The addresses.\n" " The fee will be equally deducted " "from the amount of each selected address.\n" " Those recipients will receive less " @@ -1100,7 +1100,7 @@ "keys", RPCArg::Type::ARR, RPCArg::Optional::NO, - "A json array of bitcoin addresses or hex-encoded public keys", + "The bitcoin addresses or hex-encoded public keys", { {"key", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "bitcoin address or hex-encoded public key"}, @@ -2621,7 +2621,7 @@ "transactions", RPCArg::Type::ARR, /* default */ "empty array", - "A json array of objects. Each object the txid (string) vout " + "The transaction outputs and within each, txid (string) vout " "(numeric).", { { @@ -3467,7 +3467,7 @@ "addresses", RPCArg::Type::ARR, /* default */ "empty array", - "A json array of bitcoin addresses to filter", + "The bitcoin addresses to filter", { {"address", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "bitcoin address"}, @@ -3890,7 +3890,7 @@ "subtractFeeFromOutputs", RPCArg::Type::ARR, /* default */ "empty array", - "A json array of integers.\n" + "The integers.\n" " The fee will be equally " "deducted from the amount of each specified output.\n" " Those recipients will " @@ -3982,7 +3982,7 @@ "prevtxs", RPCArg::Type::ARR, RPCArg::Optional::OMITTED_NAMED_ARG, - "A json array of previous dependent transaction outputs", + "The previous dependent transaction outputs", { { "", @@ -4512,7 +4512,7 @@ { {RPCResult::Type::OBJ, "address", - "json object with information about address", + "Information about address", { {RPCResult::Type::STR, "purpose", "Purpose of address (\"send\" for sending address, " @@ -4847,7 +4847,7 @@ "outputs", RPCArg::Type::ARR, RPCArg::Optional::NO, - "a json array with outputs (key-value pairs), where none of " + "The outputs (key-value pairs), where none of " "the keys are duplicated.\n" "That is, each address can only appear once and there can only " "be one 'data' object.\n" @@ -4913,7 +4913,7 @@ "subtractFeeFromOutputs", RPCArg::Type::ARR, /* default */ "empty array", - "A json array of integers.\n" + "The outputs to subtract the fee from.\n" " The fee will be equally " "deducted from the amount of each specified output.\n" " Those recipients will "