HomePhabricator

Rationalize lock anotation in validation code

Description

Rationalize lock anotation in validation code

Summary:
Make sure the annotation are set on declarations rather than implementations, and make sure there are lock assertions consistent with lock annotations.

Depends on D4592

Test Plan: Build with clang and ensure there are no warnings.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
deadalnixAuthored on Nov 29 2019, 14:36
deadalnixPushed on Nov 30 2019, 17:44
Reviewer
Restricted Project
Differential Revision
D4581: Rationalize lock anotation in validation code
Parents
rABCa1183628d36c: tests: Add missing cs_main locks required when accessing pcoinsdbview…
Branches
Unknown
Tags
Unknown