More details for getblock and gettransaction #886

pull luke-jr wants to merge 3 commits into bitcoin:master from luke-jr:getblock_full changing 1 files +199 −25
  1. luke-jr commented at 10:48 PM on February 22, 2012: member

    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.

  2. luke-jr commented at 8:06 PM on May 8, 2012: member

    Rebased

  3. sipa commented at 8:16 PM on May 8, 2012: member

    Can you use enums instead of numbers to identify the several decompositions?

  4. luke-jr commented at 8:52 PM on May 8, 2012: member

    Reworked with enums.

  5. Add block "confirmations" to getblock, mainly for identifying orphans d4e09300f3
  6. 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"
    74335bd32a
  7. Support for decomposing scripts as "obj" 7e63dc3615
  8. gmaxwell commented at 10:31 PM on May 8, 2012: contributor

    Decodes of BIP16 transactions scriptsig are not useful and this needs some docs. (I wasted a fair bit trying to figure out why "{'script':'hex'}" wouldn't work, for lack of an example. No reason not to pull though.

  9. gmaxwell referenced this in commit 82ab06b849 on May 8, 2012
  10. gmaxwell merged this on May 8, 2012
  11. gmaxwell closed this on May 8, 2012

  12. coblee referenced this in commit e1b12aa2f1 on Jul 17, 2012
  13. destenson referenced this in commit a2ad8628a7 on Jun 26, 2016
  14. ptschip referenced this in commit 8c76a50918 on Jan 7, 2018
  15. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me