HomePhabricator

Add additional block index consistency checks
ede379f780b8Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Apr 1 2015, 17:12
deadalnixPushed on May 14 2017, 22:04
Parents
rABC3e8a1f2725f5: Merge pull request #5900
Branches
Unknown
Tags
Unknown

Event Timeline

Suhas Daftuar <sdaftuar@gmail.com> committed rABCede379f780b8: Add additional block index consistency checks (authored by Suhas Daftuar <sdaftuar@gmail.com>).Apr 1 2015, 19:11