bitcoin/bitcoin — pull request #886 by luke-jr (2012-02-22 22:48:29+00:00)
Title: More details for getblock and gettransaction

Add block "confirmations" to getblock, mainly for identifying orphans
----
Second parameter to JSON-RPC getblock/gettransaction: decompositions

This is an Object specifying how to decompose specific elements.
Currently supported:
- "tx": "no", "hash", "hex", "obj"
- "script": "no", "hex", "asm", "obj"
----
Note that this depends on pulls #841 (sipa/getalltransactions) and #885 (luke-jr/getblock_cleanup), so the diff includes those until they are merged.