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. gavinandresen merged this on Feb 23, 2012
  4. gavinandresen closed this on Feb 23, 2012

  5. destenson referenced this in commit 5945b7053e on Jun 26, 2016
  6. destenson referenced this in commit a2ad8628a7 on Jun 26, 2016
  7. ptschip referenced this in commit c8489a6b3f on Jan 7, 2018
  8. dexX7 referenced this in commit 4cccf205b2 on Apr 3, 2019
  9. 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