Fix CheckBlockIndex for reindex. #6012

pull mrbandrews wants to merge 1 commits into bitcoin:master from mrbandrews:ba-fix-cbi-reindex changing 2 files +42 −0
  1. mrbandrews commented at 6:13 PM on April 14, 2015: contributor

    Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex.

    reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.

  2. Fix CheckBlockIndex for reindex.
    Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex.
    
    reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.
    0421c18f3a
  3. morcos commented at 6:34 PM on April 14, 2015: member

    Could be a candidate for 0.10.1

  4. laanwj added the label Tests on Apr 15, 2015
  5. laanwj commented at 8:50 AM on April 15, 2015: member

    utACK, also for 0.10

  6. laanwj added this to the milestone 0.10.0 on Apr 15, 2015
  7. sipa commented at 10:02 AM on April 15, 2015: member

    utACK for 0.10

  8. laanwj merged this on Apr 16, 2015
  9. laanwj closed this on Apr 16, 2015

  10. laanwj referenced this in commit 8f955b9661 on Apr 16, 2015
  11. laanwj referenced this in commit 57d1f46952 on Apr 16, 2015
  12. reddink referenced this in commit 6161588731 on Jul 11, 2020
  13. reddink referenced this in commit 964a49b160 on Jul 14, 2020
  14. MarcoFalke locked this on Sep 8, 2021
Labels

Milestone
0.10.0


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-02 03:15 UTC

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