HomePhabricator

Rationalize lock anotation in validation code

Authored by deadalnix on Fri, Nov 29, 14:36.

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

Committed
deadalnixSat, Nov 30, 17:44
Pushed
deadalnixSat, Nov 30, 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