HomePhabricator

validation: CVerifyDB::VerifyDB: Use locking annotation

Description

validation: CVerifyDB::VerifyDB: Use locking annotation

Summary:
instead of recursively locking unconditionally

This concludes backport of core#21055 [16/16]
https://github.com/bitcoin/bitcoin/pull/21055/commits/e11b6496506246882df450586acf735dabedf731

Depends on D11221

Test Plan:
With debug and clang:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Carl Dong <contact@carldong.me>Authored on Mar 1 2021, 22:06
PiRKCommitted on Mar 21 2022, 08:50
PiRKPushed on Mar 21 2022, 08:50
Reviewer
Restricted Project
Differential Revision
D11222: validation: CVerifyDB::VerifyDB: Use locking annotation
Parents
rABCdf31b9e30915: [avalanche] Track registered and allocated scores in PeerManager.
Branches
Unknown
Tags
Unknown