You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin/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
0 commit comments