aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-06-24 17:04:50 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-07-05 12:42:25 -0400
commit9a6ab7f1420691267e78e302ff224076945e9133 (patch)
tree932408e289103a55f057eb34751cae5fcca2b2a5 /src/script.h
parentfe70b09c428585166f1040e9023251c9c250e894 (diff)
downloadbitcoin-9a6ab7f1420691267e78e302ff224076945e9133.tar.xz
Rework gettransaction / getblock RPC calls
This PULL reworks new (post-0.6.*) features of the gettransaction/getblock RPC calls as follows: It removes the 'decompositions' object argument from getblock, replacing it just a list of transaction hashes; equivalent (I believe) of passing the {"tx":"hash"} decomposition. It replaces the 'decompositions' object argument of gettransaction with a boolean flag; if true, returns the same stuff that the {"script":"obj"} decomposition would return (txins/txouts as hex, disassembled, and bitcoin addresses). It adds a "rawtx" field to the output of gettransaction, that is the entire transaction serialized and hex-encoded. It removes the "size" field from gettransaction, since the size is trivial to compute from the "rawtx" field (either take the length after hex-decoding, or just compute it as hex-length/2).
Diffstat (limited to 'src/script.h')
0 files changed, 0 insertions, 0 deletions