MarcoFalke
f0c9ba2b48
Merge bitcoin/bitcoin#24205 : init, test: improve network reachability test coverage and safety
...
58a14795b8 test: passing -onlynet=onion with -onion=0/-noonion raises expected init error (Jon Atack)
7000f66d36 test: passing -onlynet=onion without -proxy/-onion raises expected init error (Jon Atack)
8332e6e4cf test: passing invalid -onion raises expected init error (Jon Atack)
d5edb08708 test: passing invalid -proxy raises expected init error (Jon Atack)
bd57dcbaf2 test: hoist proxy out of 2 network loops in feature_proxy.py (Jon Atack)
afdf2de282 test: add CJDNS to LimitedAndReachable_Network unit tests (Jon Atack)
2b7a8180a9 net, init: assert each network reachability is true by default (Jon Atack)
Pull request description:
Adds missing network reachability test coverage and an assertion during init, noticed while reviewing #22834 :
- assert during init that each network reachability is true by default
- add CJDNS to the `LimitedAndReachable_Network` unit tests
- hoist proxy out of two network loops in feature_proxy.py
- test that passing invalid `-proxy` raises expected init error
- test that passing invalid `-onion` raises expected init error
- test that passing `-onlynet=onion` without `-proxy` and `-onion` raises expected init error
- test that passing `-onlynet=onion` with `-onion=0` and with `-noonion` raises expected init error
ACKs for top commit:
vasild:
ACK 58a14795b8
brunoerg:
ACK 58a14795b8
dongcarl:
Code Review ACK 58a14795b8
Tree-SHA512: bdee6dd0c12bb63591ce7c9321fe77b509ab1265123054e774adc38a187746dddafe1627cbe89e990bcc78b45e194bfef8dc782710d5b217e2e2106ab0158827
2022-03-24 21:17:46 +01:00
..
2022-03-23 13:50:57 -04:00
2022-02-01 11:19:18 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-09-29 14:10:29 +02:00
2022-02-17 03:42:08 +09:00
2022-03-09 14:32:47 -05:00
2022-03-02 12:09:27 +01:00
2022-03-01 18:32:01 +01:00
2021-10-05 11:10:47 -04:00
2022-03-02 15:25:48 +01:00
2021-12-30 19:36:57 +02:00
2022-02-04 22:47:49 +08:00
2022-03-21 13:38:08 +01:00
2022-02-14 16:01:26 -05:00
2022-02-19 09:35:10 +01:00
2022-03-23 11:34:05 +01:00
2022-03-24 12:15:19 +00:00
2022-03-23 09:38:54 +01:00
2021-12-15 09:19:50 -05:00
2022-01-02 11:40:31 +01:00
2022-03-24 21:17:46 +01:00
2021-10-11 20:45:56 +08:00
2022-03-10 10:24:05 +01:00
2022-03-24 07:40:42 +01:00
2022-01-31 16:53:12 +01:00
2021-11-12 11:46:34 +01:00
2021-09-07 09:11:10 +02:00
2022-02-25 08:45:11 +01:00
2021-12-30 19:36:57 +02:00
2021-12-28 21:54:51 +01:00
2022-02-25 14:16:32 +01:00
2022-02-25 09:53:10 +09:00
2022-01-13 15:56:59 +01:00
2022-01-28 19:27:25 +00:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-25 09:43:54 +01:00
2021-12-06 14:17:41 +13:00
2022-03-08 16:12:03 -05:00
2021-08-17 16:54:47 +08:00
2022-02-22 15:36:19 +00:00
2021-08-17 16:54:47 +08:00
2022-02-22 15:36:19 +00:00
2021-08-17 16:54:47 +08:00
2022-02-22 15:36:19 +00:00
2021-08-17 16:54:47 +08:00
2022-02-22 15:36:19 +00:00
2021-08-17 16:54:47 +08:00
2022-02-22 15:36:19 +00:00
2022-01-06 11:29:55 -05:00
2022-01-25 10:49:46 +01:00
2022-01-31 09:23:54 +01:00
2022-03-10 20:24:11 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-22 15:15:27 +01:00
2021-12-30 19:36:57 +02:00
2022-02-22 15:36:19 +00:00
2022-02-22 15:36:19 +00:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-03-23 11:09:34 +01:00
2022-01-07 13:37:47 -05:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-06 22:14:16 -05:00
2021-08-24 11:30:09 +02:00
2021-06-16 10:48:58 +02:00
2021-12-30 19:36:57 +02:00
2022-02-03 18:35:52 +08:00
2022-03-24 11:36:37 +01:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-13 18:35:25 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-03-24 21:17:46 +01:00
2022-02-22 15:36:19 +00:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-02-03 18:35:52 +08:00
2022-02-03 18:35:52 +08:00
2022-03-17 08:42:14 +01:00
2022-03-16 16:56:29 +01:00
2021-09-24 15:40:04 +08:00
2021-10-15 01:02:45 +00:00
2021-10-21 09:37:30 +08:00
2022-02-28 16:59:56 +01:00
2022-02-13 20:59:07 +00:00
2022-03-07 13:29:46 -05:00
2021-12-20 10:53:01 -05:00
2021-12-20 10:53:01 -05:00
2022-03-16 17:47:56 +01:00
2021-10-11 20:46:25 +08:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-03-24 11:37:34 +01:00
2022-01-25 18:48:41 +01:00
2021-12-14 18:58:45 +01:00
2021-12-30 19:36:57 +02:00
2022-03-02 15:42:37 +01:00
2022-03-24 11:37:34 +01:00
2022-02-11 15:21:52 +01:00
2022-02-11 15:21:52 +01:00
2022-03-02 09:33:03 +01:00
2022-03-02 09:33:03 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2022-02-02 17:22:42 +01:00
2022-01-30 08:59:10 -03:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-03-17 07:23:43 +01:00
2022-03-24 11:36:37 +01:00
2022-01-14 13:27:41 +01:00
2022-01-02 11:52:11 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:13:40 +01:00
2022-02-09 17:21:04 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-03-02 15:40:35 +01:00
2022-03-02 15:40:30 +01:00
2021-07-05 08:59:38 +03:00
2022-03-15 01:33:52 +00:00
2022-03-15 01:33:52 +00:00
2022-02-21 19:07:29 +01:00
2022-01-28 20:52:53 +01:00
2022-03-21 13:38:08 +01:00
2022-03-21 13:38:08 +01:00
2021-07-20 13:12:42 +01:00
2021-12-30 19:36:57 +02:00
2022-01-02 11:40:31 +01:00
2022-03-17 07:23:43 +01:00
2022-03-17 07:23:43 +01:00
2022-02-25 16:06:27 -05:00
2022-01-28 18:07:08 +10:00
2022-01-28 08:46:03 +01:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00