Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #26326: net: don't lock cs_main while reading blocks in net pro…
…cessing 75d27fe net: reduce LOCK(cs_main) scope in ProcessGetBlockData (Andrew Toth) 613a45c net: reduce LOCK(cs_main) scope in GETBLOCKTXN (Andrew Toth) Pull request description: Inspired by #11913 and #26308. `cs_main` doesn't need to be locked while reading blocks. This removes the locks in `net_processing`. ACKs for top commit: sr-gi: ACK [75d27fe](75d27fe) achow101: ACK 75d27fe furszy: ACK 75d27fe with a non-blocking nit. mzumsande: Code Review ACK 75d27fe TheCharlatan: ACK 75d27fe Tree-SHA512: 79b85f748f68ecfb2f2afd3267857dd41b8e76dd482c9c922037399dcbce7b1e5d4c708a4f5fd17c3fb6699b0d88f26a17cc1d92db115dd43c8d4392ae27cec4
- Loading branch information
Showing
1 changed file
with
73 additions
and
43 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