fanquake
2305643646
Merge bitcoin/bitcoin#27257 : refactor, net: End friendship of CNode, CConnman and ConnmanTestMsg
...
3566aa7d49 [net] Remove CNode friends (dergoegge)
3eac5e7cd1 [net] Add CNode helper for send byte accounting (dergoegge)
60441a3432 scripted-diff: [net] Rename CNode process queue members (dergoegge)
6693c499f7 [net] Make cs_vProcessMsg a non-recursive mutex (dergoegge)
23d9352654 [net] Make CNode msg process queue members private (dergoegge)
897e342d6e [net] Encapsulate CNode message polling (dergoegge)
cc5cdf8776 [net] Deduplicate marking received message for processing (dergoegge)
ad44aa5c64 [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 3566aa7d49
vasild:
ACK 3566aa7d49
theStack:
re-ACK 3566aa7d49
brunoerg:
re-ACK 3566aa7d49
Tree-SHA512: 26b87da5054e32401b693b2904e9c5f40e35a53937c0b6cf44b8597034ad07bacf27d87cdffc54d3e7ccfebde4231ef30a38d326f88cc18133bbb34688ead567
2023-03-23 17:31:52 +00:00
..
2023-03-21 13:04:21 +00:00
2023-02-28 12:04:47 -05:00
2023-01-04 12:00:25 +00:00
2023-02-06 13:56:51 -05:00
2022-08-13 13:55:38 +01:00
2023-02-15 14:58:47 +00:00
2023-03-21 13:54:11 +01:00
2023-02-27 14:21:13 -05:00
2023-02-07 11:02:01 +01:00
2022-12-24 23:49:50 +00:00
2023-03-16 13:56:35 +00:00
2022-09-29 16:43:30 +01:00
2023-01-31 18:48:50 +01:00
2022-10-23 15:03:04 +01:00
2023-03-16 13:56:35 +00:00
2023-01-31 11:50:10 +00:00
2022-12-24 23:49:50 +00:00
2023-03-14 10:03:31 +00:00
2023-03-23 13:40:30 +00:00
2023-03-13 17:09:54 +01:00
2023-03-08 17:41:24 -05:00
2023-02-23 17:58:40 -05:00
2023-03-23 17:31:52 +00:00
2023-03-03 15:23:43 +01:00
2023-03-23 10:17:23 +00:00
2023-03-23 15:53:56 +00:00
2023-01-31 11:50:10 +00:00
2023-02-01 11:33:35 +01:00
2023-03-13 17:09:54 +01:00
2023-01-26 18:11:13 -05:00
2023-02-17 13:34:40 -05:00
2023-02-01 10:18:08 -05:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-16 13:56:35 +00:00
2023-03-13 17:09:47 +01:00
2023-03-13 17:09:47 +01:00
2023-03-13 17:09:47 +01:00
2023-03-13 17:09:47 +01:00
2023-03-13 17:09:47 +01:00
2023-01-26 10:44:05 +01:00
2023-02-15 14:42:28 -08:00
2023-01-31 19:34:35 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-05 09:05:14 +00:00
2023-03-15 16:43:31 +01:00
2023-03-15 16:43:31 +01:00
2022-09-09 10:07:39 +02:00
2023-03-21 13:04:21 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-02 09:00:15 -05:00
2023-02-02 09:00:15 -05:00
2023-02-03 18:15:42 +01:00
2023-01-26 10:44:05 +01:00
2023-02-03 18:15:42 +01:00
2023-01-31 11:50:10 +00:00
2023-02-10 04:39:11 -04:00
2023-02-10 04:39:11 -04:00
2023-03-15 16:42:42 +01:00
2023-03-15 16:42:42 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2023-02-01 11:33:35 +01:00
2022-12-24 23:49:50 +00:00
2023-03-21 13:54:11 +01:00
2023-02-16 12:33:26 +00:00
2023-01-18 15:47:06 +00:00
2022-12-24 23:49:50 +00:00
2023-01-30 15:57:12 +00:00
2022-08-30 12:09:04 -04:00
2022-08-29 08:10:35 -04:00
2023-02-17 13:34:40 -05:00
2023-03-06 19:35:59 -05:00
2022-12-24 23:49:50 +00:00
2023-02-22 17:58:41 +00:00
2022-12-24 23:49:50 +00:00
2023-03-20 12:49:10 -04:00
2022-12-24 23:49:50 +00:00
2023-01-17 18:31:51 +01:00
2023-01-31 19:34:35 +01:00
2023-01-31 11:50:10 +00:00
2023-03-09 15:05:11 +01:00
2023-03-13 17:09:54 +01:00
2023-03-16 13:56:35 +00:00
2022-11-15 19:23:39 -05:00
2022-06-23 15:33:01 +02:00
2022-07-21 10:42:09 +01:00
2023-02-27 13:53:29 +00:00
2022-09-13 17:15:17 +01:00
2022-09-13 17:15:17 +01:00
2022-11-17 14:52:45 +00:00
2023-02-17 17:28:14 -05:00
2023-03-07 13:05:01 -05:00
2023-02-17 13:34:40 -05:00
2023-01-28 15:24:13 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-23 17:31:52 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-22 13:18:57 +01:00
2023-03-22 13:18:57 +01:00
2023-02-17 13:34:40 -05:00
2023-02-17 13:34:40 -05:00
2023-03-13 17:09:54 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-16 10:01:33 +00:00
2023-02-16 09:39:50 +00:00
2023-01-13 09:40:57 +00:00
2023-01-13 09:40:57 +00:00
2023-03-02 14:48:28 +01:00
2023-02-15 14:58:47 +00:00
2023-01-23 16:36:27 +01:00
2023-03-15 19:39:30 -04:00
2023-01-12 13:42:44 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-31 11:50:10 +00:00
2023-02-28 12:04:47 -05:00
2023-01-31 11:50:10 +00:00
2023-02-02 10:47:37 +00:00
2023-01-25 09:33:26 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-31 11:50:10 +00:00
2023-02-17 13:34:40 -05:00
2023-01-31 11:50:10 +00:00
2023-03-13 17:09:54 +01:00
2023-02-10 04:39:11 -04:00
2023-03-20 12:42:24 -04:00
2023-02-01 11:33:35 +01:00
2023-01-26 10:36:18 +00:00
2023-01-26 10:36:18 +00:00
2022-12-10 14:34:44 -06:00
2023-02-06 13:56:51 -05:00
2023-03-22 11:16:56 +00:00
2023-03-21 13:04:53 +00:00
2023-02-01 11:33:35 +01:00
2023-01-05 09:05:14 +00:00
2023-01-03 19:31:29 -06:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00