mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-06 03:49:16 +02:00
Merge #17804: doc: Misc RPC help fixes
fa5c6622c8doc: Use proper RPC help syntax in importmulti (MarcoFalke)fab63111bedoc: Remove duplicate "comment" from listsinceblock RPC help (MarcoFalke)fa04cd6cfcdoc: Properly document proxy_randomize_credentials as bool in getnetworkinfo (MarcoFalke)fa9dec7c39doc: Fix syntax error (trailing square bracket) in finalizepsbt (MarcoFalke)faff5a60eddoc: Fix syntax error (trailing square bracket) in walletprocesspsbt (MarcoFalke)fa0545901ddoc: Add missing "optional" to "long" estimaterawfee RPC help (MarcoFalke) Pull request description: This fixes documentation of the following RPCs: * estimaterawfee (hidden) * https://bitcoincore.org/en/doc/0.19.0/rpc/wallet/walletprocesspsbt/ * https://bitcoincore.org/en/doc/0.19.0/rpc/rawtransactions/finalizepsbt/ * https://bitcoincore.org/en/doc/0.19.0/rpc/network/getnetworkinfo/ * https://bitcoincore.org/en/doc/0.19.0/rpc/wallet/listsinceblock/ * https://bitcoincore.org/en/doc/0.19.0/rpc/wallet/importmulti/ <!-- Also, it comes with a scripted diff to normalize whitespace and type names. (Previous attempts: #14601 and #14459) ACKs for top commit: laanwj: ACKfa5c6622c8Tree-SHA512: 5a10956e12f8ce23e93a2ce8bafd6cae759d8a21658f79397e3bfce3e4aabd9658bdbd40acde49323dca958a9befee7166654994208c182dd60f483109621e17
This commit is contained in:
@@ -1321,8 +1321,19 @@ UniValue importmulti(const JSONRPCRequest& mainRequest)
|
||||
"\"options\""},
|
||||
},
|
||||
RPCResult{
|
||||
"\nResponse is an array with the same size as the input that has the execution result :\n"
|
||||
" [{\"success\": true}, {\"success\": true, \"warnings\": [\"Ignoring irrelevant private key\"]}, {\"success\": false, \"error\": {\"code\": -1, \"message\": \"Internal Server Error\"}}, ...]\n"
|
||||
"[ (json array) Response is an array with the same size as the input that has the execution result\n"
|
||||
" { (json object)\n"
|
||||
" \"success\" : true|false, (boolean)\n"
|
||||
" \"warnings\" : [ (json array, optional)\n"
|
||||
" \"str\", (string)\n"
|
||||
" ...\n"
|
||||
" ],\n"
|
||||
" \"error\" : { (json object, optional)\n"
|
||||
" ... JSONRPC error\n"
|
||||
" },\n"
|
||||
" },\n"
|
||||
" ...\n"
|
||||
"]\n"
|
||||
},
|
||||
RPCExamples{
|
||||
HelpExampleCli("importmulti", "'[{ \"scriptPubKey\": { \"address\": \"<my address>\" }, \"timestamp\":1455191478 }, "
|
||||
|
||||
Reference in New Issue
Block a user