This commit is contained in:
David A. Harding 2014-04-29 14:34:41 -04:00 committed by langerhans
parent edb4388c45
commit 6944ca0e9a

View file

@ -400,17 +400,16 @@ Value decoderawtransaction(const Array& params, bool fHelp)
"\nReturn a JSON object representing the serialized, hex-encoded transaction.\n" "\nReturn a JSON object representing the serialized, hex-encoded transaction.\n"
"\nArguments:\n" "\nArguments:\n"
"1. \"txid\" (string, required) The transaction hex string\n" "1. \"hex\" (string, required) The transaction hex string\n"
"\nResult:\n" "\nResult:\n"
"{\n" "{\n"
" \"hex\" : \"data\", (string) The serialized, hex-encoded data for 'txid'\n" " \"txid\" : \"id\", (string) The transaction id\n"
" \"txid\" : \"id\", (string) The transaction ID (same as provided)\n"
" \"version\" : n, (numeric) The version\n" " \"version\" : n, (numeric) The version\n"
" \"locktime\" : ttt, (numeric) The lock time\n" " \"locktime\" : ttt, (numeric) The lock time\n"
" \"vin\" : [ (array of json objects)\n" " \"vin\" : [ (array of json objects)\n"
" {\n" " {\n"
" \"txid\": \"id\", (string) The transaction ID\n" " \"txid\": \"id\", (string) The transaction id\n"
" \"vout\": n, (numeric) The output number\n" " \"vout\": n, (numeric) The output number\n"
" \"scriptSig\": { (json object) The script\n" " \"scriptSig\": { (json object) The script\n"
" \"asm\": \"asm\", (string) asm\n" " \"asm\": \"asm\", (string) asm\n"
@ -422,7 +421,7 @@ Value decoderawtransaction(const Array& params, bool fHelp)
" ],\n" " ],\n"
" \"vout\" : [ (array of json objects)\n" " \"vout\" : [ (array of json objects)\n"
" {\n" " {\n"
" \"value\" : x.xxx, (numeric) The value in doge\n" " \"value\" : x.xxx, (numeric) The value in DOGE\n"
" \"n\" : n, (numeric) index\n" " \"n\" : n, (numeric) index\n"
" \"scriptPubKey\" : { (json object)\n" " \"scriptPubKey\" : { (json object)\n"
" \"asm\" : \"asm\", (string) the asm\n" " \"asm\" : \"asm\", (string) the asm\n"
@ -430,17 +429,13 @@ Value decoderawtransaction(const Array& params, bool fHelp)
" \"reqSigs\" : n, (numeric) The required sigs\n" " \"reqSigs\" : n, (numeric) The required sigs\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n" " \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n"
" \"addresses\" : [ (json array of string)\n" " \"addresses\" : [ (json array of string)\n"
" \"12tvKAXCxZjSmdNbao16dKXC8tRWfcF5oc\" (string) Dogecoin address\n" " \"DJ7zB7c5BsB9UJLy1rKQtY7c6CQfGiaRLM\" (string) Dogecoin address\n"
" ,...\n" " ,...\n"
" ]\n" " ]\n"
" }\n" " }\n"
" }\n" " }\n"
" ,...\n" " ,...\n"
" ],\n" " ],\n"
" \"blockhash\" : \"hash\", (string) the block hash\n"
" \"confirmations\" : n, (numeric) The confirmations\n"
" \"time\" : ttt, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT)\n"
" \"blocktime\" : ttt (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n"
"}\n" "}\n"
"\nExamples:\n" "\nExamples:\n"