forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#27257: refactor, net: End friendship of CNode, CConnman…
… and ConnmanTestMsg 3566aa7 [net] Remove CNode friends (dergoegge) 3eac5e7 [net] Add CNode helper for send byte accounting (dergoegge) 60441a3 scripted-diff: [net] Rename CNode process queue members (dergoegge) 6693c49 [net] Make cs_vProcessMsg a non-recursive mutex (dergoegge) 23d9352 [net] Make CNode msg process queue members private (dergoegge) 897e342 [net] Encapsulate CNode message polling (dergoegge) cc5cdf8 [net] Deduplicate marking received message for processing (dergoegge) ad44aa5 [net] Add connection type getter to CNode (dergoegge) Pull request description: We should define clear interfaces between CNode, CConnman and PeerManager. This PR makes a small step in that direction by ending the friendship of CNode, CConnman and ConnmanTestMsg. CNode's message processing queue is made private in the process and its mutex is turned into a non-recursive mutex. ACKs for top commit: jnewbery: utACK 3566aa7 vasild: ACK 3566aa7 theStack: re-ACK 3566aa7 brunoerg: re-ACK 3566aa7 Tree-SHA512: 26b87da5054e32401b693b2904e9c5f40e35a53937c0b6cf44b8597034ad07bacf27d87cdffc54d3e7ccfebde4231ef30a38d326f88cc18133bbb34688ead567
- Loading branch information
Showing
4 changed files
with
73 additions
and
48 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
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