mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-26 20:33:27 +02:00
doc: Use proper RPC help syntax in importmulti
This commit is contained in:
parent
fab63111be
commit
fa5c6622c8
@ -1322,8 +1322,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 }, "
|
||||
|
Loading…
x
Reference in New Issue
Block a user