HomePhabricator

Move all calls to CheckBlockIndex out of net-processing logic

Description

Move all calls to CheckBlockIndex out of net-processing logic

This will result in many more calls to CheckBlockIndex when
connecting a list of headers (eg in ::HEADERS messages processing)
but its only enabled in debug mode, and that should mostly just be
during IBD, so it should be OK.

Details

Provenance
Matt Corallo <git@bluematt.me>Authored on Oct 2 2016, 16:45
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd6ea737be19a: Remove network state wipe from UnloadBlockIndex.
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Corallo <git@bluematt.me> committed rABCd8670fb103f9: Move all calls to CheckBlockIndex out of net-processing logic (authored by Matt Corallo <git@bluematt.me>).Oct 31 2016, 14:08