diff options
author | Matt Corallo <git@bluematt.me> | 2017-10-19 16:55:31 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-11-02 13:21:07 -0400 |
commit | 92d6105c4e571e557348771bf39bf7bbacc81cd1 (patch) | |
tree | be7a9abc595acbf2e60835fb4751bf0af329ad7d /test/functional/combine_logs.py | |
parent | 51001d684b1b26ea5109986b7317ffe24bf71b43 (diff) | |
download | bitcoin-92d6105c4e571e557348771bf39bf7bbacc81cd1.tar.xz |
Reject headers building on invalid chains by tracking invalidity
This tracks the set of all known invalid-themselves blocks (ie
blocks which we attempted to connect but which were found to be
invalid). This is used to cheaply check if new headers build on an
invalid chain.
While we're at it we also resolve an edge-case in invalidateblock
on pruned nodes which results in them needing a reindex if they
fail to reorg.
Github-Pull: #11531
Rebased-From: 015a5258adffb0cf394f387a95ac9c8afc34cfc3
Diffstat (limited to 'test/functional/combine_logs.py')
0 files changed, 0 insertions, 0 deletions