Skip to content

Commit

Permalink
Add extraPayloadSize/extraPayload fields to RPC help
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Aug 29, 2018
1 parent 8af7f62 commit fb4d301
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ UniValue getrawtransaction(const JSONRPCRequest& request)
" }\n"
" ,...\n"
" ],\n"
" \"extraPayloadSize\" : n (numeric) Size of DIP2 extra payload. Only present if it's a special TX\n"
" \"extraPayload\" : \"hex\" (string) Hex encoded DIP2 extra payload data. Only present if it's a special TX\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"
Expand Down Expand Up @@ -537,6 +539,8 @@ UniValue decoderawtransaction(const JSONRPCRequest& request)
" }\n"
" ,...\n"
" ],\n"
" \"extraPayloadSize\" : n (numeric) Size of DIP2 extra payload. Only present if it's a special TX\n"
" \"extraPayload\" : \"hex\" (string) Hex encoded DIP2 extra payload data. Only present if it's a special TX\n"
"}\n"

"\nExamples:\n"
Expand Down

0 comments on commit fb4d301

Please sign in to comment.