-
Notifications
You must be signed in to change notification settings - Fork 793
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard vRecvGetData (now in net processing) with its own mutex
Summary: This requires slightly reorganizing the logic in GETBLOCKTXN to maintain locking order. This is a backport of [[bitcoin/bitcoin#19911 | core#19911]] [5/6] bitcoin/bitcoin@ba95181 see D10187 for the removal of the `!cs_main` negative lock Depends on D10529 Test Plan: ``` cmake .. -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DENABLE_SANITIZERS=thread ninja && ninja check check-functional ``` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D10530
- Loading branch information
Showing
1 changed file
with
72 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters