forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m_next_addr_send and m_next_local_addr_send are currently guarded by cs_sendProcessing. These fields are only read/writen by the message handling thread and the annotation was added unnecessarily in commit b312cd7. See discussion at bitcoin#13123 (comment). We add a new m_addr_mutex to guard these fields. Once all the addr relay fields have been moved to the Peer object in net_processing, they will be protected by the same mutex.
- Loading branch information
Showing
2 changed files
with
58 additions
and
53 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