HomePhabricator

Fix CheckBlockIndex for reindex.
0421c18f3a26Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
mrbandrews <bandrewsny@gmail.com>Authored on Apr 9 2015, 15:08
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd3eb5ae46a4c: Merge pull request #6007
Branches
Unknown
Tags
Unknown

Event Timeline

mrbandrews <bandrewsny@gmail.com> committed rABC0421c18f3a26: Fix CheckBlockIndex for reindex. (authored by mrbandrews <bandrewsny@gmail.com>).Apr 14 2015, 18:10