HomePhabricator

Require CBlockIndex::IsValid() to hold cs_main

Description

Require CBlockIndex::IsValid() to hold cs_main

Summary:
This is a partial backport of core#22932
https://github.com/bitcoin/bitcoin/pull/22932/commits/ca47b005770f71aa229ecc1f7b8146a96ff02151

Depends on D13035

Test Plan:
With clang and DEBUG:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13036

Details

Provenance
PiRKAuthored on Jan 23 2023, 15:15
PiRKPushed on Jan 24 2023, 09:21
Reviewer
Restricted Project
Differential Revision
D13036: Require CBlockIndex::IsValid() to hold cs_main
Parents
rABC7b92966d1c2f: Require CBlockIndex::IsAssumedValid() to hold cs_main
Branches
Unknown
Tags
Unknown