aboutsummaryrefslogtreecommitdiff
path: root/test/util
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-10-19 16:55:31 -0400
committerMarcoFalke <falke.marco@gmail.com>2017-11-02 13:21:07 -0400
commit92d6105c4e571e557348771bf39bf7bbacc81cd1 (patch)
treebe7a9abc595acbf2e60835fb4751bf0af329ad7d /test/util
parent51001d684b1b26ea5109986b7317ffe24bf71b43 (diff)
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/util')
0 files changed, 0 insertions, 0 deletions