Page MenuHomePhabricator

Avoid locking CTxMemPool::cs recursively in simple cases
ClosedPublic

Authored by PiRK on Sep 22 2021, 09:15.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCee5de8785e21: Avoid locking CTxMemPool::cs recursively in simple cases
Summary

Only trivial thread safety annotations and lock assertions added. No new locks.
No change in behavior, the lock is already held at call sites.

This is a backport of core#19854

Test Plan

With TSAN:
ninja && ninja check check-functional