Cleanup JSON-RPC getblock output to be consistent #885

pull luke-jr wants to merge 1 commits into bitcoin:master from luke-jr:getblock_cleanup changing 1 files +17 −10
  1. luke-jr commented at 5:20 PM on February 22, 2012: member
    • Add "size" and "bits"
    • Rename "blockcount" to "height" (and make it 1-based)
    • Rename "hashprevious" and "hashnext" to "previousblockhash" and "nextblockhash" (respectively)
  2. Cleanup JSON-RPC getblock output to be consistent
    - Add "size" and "bits"
    - Rename "blockcount" to "height"
    - Rename "hashprevious" and "hashnext" to "previousblockhash" and "nextblockhash" (respectively)
    34f8788915
  3. luke-jr cross-referenced this on Feb 22, 2012 from issue More details for getblock and gettransaction by luke-jr
  4. gavinandresen merged this on Feb 23, 2012
  5. gavinandresen closed this on Feb 23, 2012

  6. destenson referenced this in commit 5945b7053e on Jun 26, 2016
  7. destenson referenced this in commit a2ad8628a7 on Jun 26, 2016
  8. ptschip referenced this in commit c8489a6b3f on Jan 7, 2018
  9. dexX7 referenced this in commit 4cccf205b2 on Apr 3, 2019
  10. braydonf cross-referenced this on Dec 23, 2019 from issue Bits in hex for rpc block methods by braydonf
  11. bitcoin 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-05-20 06:56 UTC