Browse Source

Make the signrawtransaction docs explicit that the arguments can be 'null'.

0.10
Gregory Maxwell 11 years ago
parent
commit
041f71bb38
  1. 4
      src/rpcrawtransaction.cpp

4
src/rpcrawtransaction.cpp

@ -522,7 +522,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
"\nArguments:\n" "\nArguments:\n"
"1. \"hexstring\" (string, required) The transaction hex string\n" "1. \"hexstring\" (string, required) The transaction hex string\n"
"2. \"prevtxs\" (string, optional) An json array of previous dependent transaction outputs\n" "2. \"prevtxs\" (string, optional) An json array of previous dependent transaction outputs\n"
" [ (json array of json objects)\n" " [ (json array of json objects, or 'null' if none provided)\n"
" {\n" " {\n"
" \"txid\":\"id\", (string, required) The transaction id\n" " \"txid\":\"id\", (string, required) The transaction id\n"
" \"vout\":n, (numeric, required) The output number\n" " \"vout\":n, (numeric, required) The output number\n"
@ -532,7 +532,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
" ,...\n" " ,...\n"
" ]\n" " ]\n"
"3. \"privatekeys\" (string, optional) A json array of base58-encoded private keys for signing\n" "3. \"privatekeys\" (string, optional) A json array of base58-encoded private keys for signing\n"
" [ (json array of strings)\n" " [ (json array of strings, or 'null' if none provided)\n"
" \"privatekey\" (string) private key in base58-encoding\n" " \"privatekey\" (string) private key in base58-encoding\n"
" ,...\n" " ,...\n"
" ]\n" " ]\n"

Loading…
Cancel
Save