HomePhabricator

tests: Add missing cs_main locks required when accessing pcoinsdbview…

Description

tests: Add missing cs_main locks required when accessing pcoinsdbview, pcoinsTip or pblocktree

Summary:
This is a backport of Core PR15413

Depends on D4591

Test Plan:

make check
ninja bench-bitcoin

Ensure clang doesn't warnign about thread safety.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Committed
deadalnixSat, Nov 30, 17:37
Pushed
deadalnixSat, Nov 30, 17:37
Reviewer
Restricted Project
Differential Revision
D4592: tests: Add missing cs_main locks required when accessing pcoinsdbview, pcoinsTip or pblocktree
Parents
rABC1450d42778b0: Introduce BlockHash to represent a block hash
Branches
Unknown
Tags
Unknown