HomePhabricator

Add missing thread safety lock assertions in validation.{h|cpp}

Description

Add missing thread safety lock assertions in validation.{h|cpp}

Summary:
Co-authored-by: Shashwat <svangani239@gmail.com>

This is a backport of core#24177

Some of this work was already done in D4581.
Also add the lock annotation for CoinsDB which was missed in D7582

Test Plan:
With DEBUG and TSAN:

ninja all check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Dec 19 2022, 10:43
PiRKPushed on Dec 19 2022, 13:57
Reviewer
Restricted Project
Differential Revision
D12915: Add missing thread safety lock assertions in validation.{h|cpp}
Parents
rABC293b7411ecda: Fix unsigned integer overflow in LoadMempool
Branches
Unknown
Tags
Unknown