so its easier to see what address the unspent outputs belong to
listunspent: changed outputing of the full scriptPubKey object rather than just the hex #1867
pull xblitz wants to merge 3 commits into bitcoin:master from xblitz:master changing 3 files +11 −4-
xblitz commented at 7:00 PM on September 25, 2012: none
-
Fix: when testnet=1 specified, change default ports to 18332 and 18333 b202d43076
-
e5c433951c
listunspent: changed outputing of the full scriptPubKey object rather
than just the hex
-
jgarzik commented at 7:17 PM on September 25, 2012: contributor
NAK, this breaks existing setups (it's in released 0.7), and further it forces anybody wanting the raw form to perform extra parsing.
Decomposition into readable form is an extra step, see e.g. "decoderawtransaction" RPC
-
xblitz commented at 7:28 PM on September 25, 2012: none
Agreed about breaking existing setups.. maybe we can just add an address property instead
-
jgarzik commented at 7:29 PM on September 25, 2012: contributor
just use decoderawtransaction, that is why it's there ;p
-
xblitz commented at 7:42 PM on September 25, 2012: none
meaning to find the addresses of the output it we need to do a getrawtransaction and then a decoderawtransaction for each output .. so why are the amounts and confirmations displayed.. you can also get them from decoderawtransaction ;p
-
Merge branch 'testports' of git://github.com/kjj2/bitcoin 6d14a59e0e
-
gavinandresen commented at 8:11 PM on September 25, 2012: contributor
You don't need to getrawtransaction then decoderawtransaction, you can do both of those in one step by passing '1' as the second argument to getrawtransaction. And if you have a bunch of transaction ids you can use the new 'batch' JSON-RPC support to do it all in one round-trip.
Closing.
- gavinandresen closed this on Sep 25, 2012
-
xblitz commented at 1:53 AM on September 26, 2012: none
Awesome thanks!... guess i'll ask in the forum next time.. sorry :/
- KolbyML referenced this in commit c65d0368a0 on Dec 5, 2020
- DrahtBot locked this on Sep 8, 2021