-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AssertLockHeld assertions in CWallet::ListCoins
Summary: * Add AssertLockHeld assertions in CWallet::ListCoins * Add EXCLUSIVE_LOCKS_REQUIRED to CWallet::ListCoins Suggested by MarcoFalke <falke.marco@gmail.com> in bitcoin/bitcoin#10605 (comment) This is a backport of Core PR10605 Test Plan: * Build with clang and make sure there are no warning related to locks. * Build in debug mode and run the extended test suite. Reviewers: #bitcoin_abc, jasonbcox Reviewed By: #bitcoin_abc, jasonbcox Differential Revision: https://reviews.bitcoinabc.org/D4170
- Loading branch information
Showing
3 changed files
with
17 additions
and
14 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
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
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