Wladimir J. van der Laan
620ac8c475
Merge #19724: [net] Cleanup connection types- followups
eb1c5d090f4ef844dabc1e8bf3864c1afe1c791c [doc] Follow developer notes, add comment about missing default. (Amiti Uttarwar)
d5a57cef62ee9e9d30f7e3b80e178149ceeef67c [doc] Describe connection types in more depth. (Amiti Uttarwar)
4829b6fcc6489b445f80689af6c2a1a919f176b1 [refactor] Simplify connection type logic in ThreadOpenConnections (Amiti Uttarwar)
1e563aed785565af6b7aed7f7399c52205d8f19c [refactor] Simplify check for block-relay-only connection. (Amiti Uttarwar)
da3a0be61b025224231206cb4656e420453bfdeb [test] Add explicit tests that connection types get set correctly (Amiti Uttarwar)
1d74fc7df621b31d1b8adc9d7f53e7478d6e40b5 [trivial] Small style updates (Amiti Uttarwar)
ff6b9081add3a40d53b1cc1352b57eeb46e41d45 [doc] Explain address handling logic in process messages (Amiti Uttarwar)
dff16b184b1428a068d144e5e4dde7595b4729c0 [refactor] Restructure logic to check for addr relay. (Amiti Uttarwar)
a6ab1e81f964df131cfa0e11e07bedb3283b823f [net] Remove unnecessary default args on OpenNetworkConnection (Amiti Uttarwar)
8d6ff46f55f373e344278ab3f1ac27b1dba36623 scripted-diff: Rename `OUTBOUND` ConnectionType to `OUTBOUND_FULL_RELAY` (Amiti Uttarwar)
Pull request description:
This PR addresses outstanding review comments from #19316. It further simplifies `net.cpp` complexity and adds documentation about design goals about different connection types.
ACKs for top commit:
naumenkogs:
ACK eb1c5d090f4ef844dabc1e8bf3864c1afe1c791c
laanwj:
Code review ACK eb1c5d090f4ef844dabc1e8bf3864c1afe1c791c
Tree-SHA512: 2fe14e428404c95661e5518c8c90db07ab5b9ebb1bac921b3bdf82b181f444fae379f8fc0a2b619e6b4693f01c55bd246fbd8c8eedadd96849a30de3161afee5
2020-09-03 13:28:30 +02:00
..
2020-08-31 08:29:27 +02:00
2020-05-20 08:27:07 -04:00
2020-08-04 13:29:40 -04:00
2020-01-28 17:00:01 +01:00
2020-06-29 11:31:17 +08:00
2020-08-21 12:48:46 +08:00
2020-08-27 14:33:00 -04:00
2020-01-28 16:59:07 +01:00
2020-04-30 18:02:04 +08:00
2020-08-27 14:33:00 -04:00
2020-08-04 13:29:40 -04:00
2020-07-30 13:44:54 -07:00
2020-08-31 19:34:57 +08:00
2020-08-31 17:43:35 +02:00
2020-08-25 20:18:40 +08:00
2020-06-09 13:39:09 -07:00
2020-08-20 17:55:06 +00:00
2020-09-02 17:18:22 -07:00
2020-02-09 07:44:29 -08:00
2020-08-31 13:07:24 +08:00
2020-09-03 12:47:01 +08:00
2020-09-02 09:09:18 +02:00
2020-07-06 03:52:37 +02:00
2020-06-22 12:12:22 +02:00
2020-07-03 20:43:55 -07:00
2020-08-12 09:22:07 +01:00
2020-08-12 09:22:07 +01:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-07-08 21:44:45 +08:00
2020-07-03 20:43:55 -07:00
2020-08-28 16:50:57 +02:00
2020-08-28 16:50:57 +02:00
2019-10-16 08:56:57 -07:00
2020-07-29 16:39:00 +07:00
2020-08-14 08:44:42 +12:00
2020-07-29 16:39:00 +07:00
2020-08-27 14:33:00 -04:00
2020-05-28 09:55:39 +03:00
2020-05-28 09:55:39 +03:00
2020-07-30 13:57:54 -07:00
2020-05-26 17:27:15 -04:00
2020-06-21 06:41:55 -04:00
2020-05-20 07:30:29 -04:00
2019-12-30 10:42:20 +13:00
2020-08-27 20:07:27 -04:00
2020-08-12 10:01:44 +08:00
2020-04-16 13:33:09 -04:00
2020-07-29 16:39:00 +07:00
2020-07-29 16:36:44 +07:00
2020-04-03 16:29:26 +02:00
2020-04-16 13:33:09 -04:00
2020-05-04 19:53:58 +03:00
2020-07-01 14:44:28 -04:00
2020-07-01 14:44:28 -04:00
2020-08-20 17:55:06 +00:00
2019-12-30 10:42:20 +13:00
2020-04-16 13:33:09 -04:00
2019-12-30 10:42:20 +13:00
2020-05-22 01:40:31 +09:00
2020-08-06 19:41:43 +02:00
2020-04-08 14:45:27 +00:00
2019-12-30 10:42:20 +13:00
2020-07-08 14:26:14 +03:00
2020-09-01 09:26:28 +08:00
2020-05-20 07:30:29 -04:00
2020-06-16 15:15:46 -04:00
2019-12-30 10:42:20 +13:00
2020-08-06 16:28:26 -07:00
2020-08-06 16:28:26 -07:00
2020-05-21 06:53:39 -04:00
2020-05-13 16:20:13 -04:00
2020-06-27 11:49:28 -04:00
2020-04-16 13:33:09 -04:00
2020-04-16 13:33:09 -04:00
2020-09-02 15:14:34 +02:00
2020-08-27 14:33:00 -04:00
2019-12-30 10:42:20 +13:00
2020-08-18 18:03:57 +00:00
2019-12-30 10:42:20 +13:00
2020-06-07 17:03:49 +02:00
2020-05-28 09:54:24 +03:00
2020-08-15 18:23:55 -04:00
2020-06-13 12:24:18 +02:00
2020-01-28 17:01:48 +01:00
2020-05-12 18:03:39 +03:00
2020-04-01 12:49:15 +02:00
2020-06-29 18:49:13 +01:00
2019-11-21 21:13:08 +01:00
2020-04-05 01:01:13 +02:00
2020-04-05 10:46:24 +08:00
2020-08-31 10:56:34 +02:00
2020-04-16 13:33:09 -04:00
2020-07-30 13:57:54 -07:00
2020-03-30 16:09:51 -07:00
2020-06-15 08:08:19 -04:00
2020-06-15 08:08:19 -04:00
2020-07-30 14:38:50 +03:00
2020-07-30 14:38:50 +03:00
2020-09-02 17:18:22 -07:00
2020-08-28 20:29:16 +02:00
2019-10-29 11:30:12 +02:00
2020-09-02 17:18:22 -07:00
2020-09-02 17:18:22 -07:00
2020-08-28 17:51:37 +02:00
2020-08-24 21:50:59 +02:00
2020-08-24 21:50:59 +02:00
2020-01-08 12:35:59 +00:00
2020-05-11 00:20:57 +02:00
2020-06-27 11:49:28 -04:00
2020-05-05 04:45:59 +03:00
2019-12-30 10:42:20 +13:00
2020-07-01 18:03:12 -04:00
2020-07-01 18:02:38 -04:00
2020-04-30 18:02:03 +08:00
2020-08-13 15:44:48 +02:00
2020-08-26 11:56:55 +02:00
2020-06-24 16:32:19 -04:00
2020-06-24 16:32:19 -04:00
2020-08-18 18:03:56 +00:00
2020-07-30 13:57:54 -07:00
2020-08-10 21:30:42 +08:00
2020-04-30 09:19:14 -04:00
2020-04-16 13:33:09 -04:00
2019-11-12 14:50:44 -08:00
2020-07-26 16:44:07 +02:00
2020-06-21 06:02:59 -04:00
2020-06-21 06:02:59 -04:00
2020-06-22 12:12:22 +02:00
2020-07-30 13:57:09 -07:00
2020-07-26 22:46:28 +03:00
2020-08-29 20:46:47 +03:00
2020-08-29 20:46:47 +03:00
2019-12-30 10:42:20 +13:00
2020-08-18 10:46:53 +03:00
2020-06-27 11:49:28 -04:00
2019-12-06 10:02:08 +01:00
2020-08-07 14:55:02 +02:00
2019-12-30 10:42:20 +13:00
2020-07-29 07:53:19 +02:00
2020-07-01 14:44:24 -04:00
2020-07-30 13:45:03 -07:00
2020-07-30 13:45:03 -07:00
2020-08-06 19:41:43 +02:00
2020-07-30 13:57:09 -07:00
2020-04-16 13:33:09 -04:00
2020-08-28 10:42:04 +02:00
2020-09-01 08:18:26 +02:00
2020-05-22 16:30:07 -04:00
2020-05-22 16:30:07 -04:00
2020-07-19 02:10:41 -04:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2019-12-30 10:42:20 +13:00
2020-07-29 16:36:44 +07:00
2020-06-10 15:01:20 +03:00
2020-06-10 15:01:20 +03:00