-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Avoid locking CTxMemPool::cs recursively in Mempool{Info}ToJSON() #19652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Concept ACK: thanks for adding thread-safety annotations! |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Rebased ef803c3 -> dd427dd (pr19652.02 -> pr19652.03) due to the conflict with #19572. |
This change avoids locking CTxMemPool::cs recursively in
Mempool{Info}ToJSON() functions.
|
Rebased dd427dd -> 09b1ef2 (pr19652.03 -> pr19652.04) due to the conflict with #18766. |
|
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
Split out from #19306.
Only trivial thread safety annotations and lock assertions added. No new locks. No behavior change.
This is a step to make
CTxMemPool::csan instance ofMutexratherRecursiveMutex.