diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-06-24 17:04:50 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-07-05 12:42:25 -0400 |
commit | 9a6ab7f1420691267e78e302ff224076945e9133 (patch) | |
tree | 932408e289103a55f057eb34751cae5fcca2b2a5 /COPYING | |
parent | fe70b09c428585166f1040e9023251c9c250e894 (diff) |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions