Add additional block index consistency checks #5959

pull sdaftuar wants to merge 1 commits into bitcoin:master from sdaftuar:update-block-consistency-checks changing 1 files +8 −0
  1. sdaftuar commented at 7:37 pm on April 1, 2015: member

    This adds more tests to CheckBlockIndex:

    • HAVE_DATA is true iff nTx > 0
    • BLOCK_VALID_TRANSACTIONS is true iff nTx > 0
    • BLOCK_VALID_TRANSACTIONS is true for a block and all parents iff nChainTx > 0
  2. Add additional block index consistency checks
    This adds more tests to CheckBlockIndex:
    - HAVE_DATA is true iff nTx > 0
    - BLOCK_VALID_TRANSACTIONS is true iff nTx > 0
    - BLOCK_VALID_TRANSACTIONS is true for a block and all parents iff
      nChainTx > 0
    ede379f780
  3. sipa commented at 7:57 pm on April 1, 2015: member
    utACK
  4. laanwj commented at 6:56 am on April 8, 2015: member
    utACK
  5. laanwj merged this on Apr 8, 2015
  6. laanwj closed this on Apr 8, 2015

  7. laanwj referenced this in commit a0bfc69541 on Apr 8, 2015
  8. MarcoFalke 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: 2024-07-08 22:13 UTC

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