Vasil Dimov
2d0b4e4ff6
init: allow startup with -onlynet=onion -listenonion=1
...
It does not make sense to specify `-onlynet=onion` without providing a
Tor proxy (even if other `-onlynet=...` are given). This is checked
during startup. However, it was forgotten that a Tor proxy can also be
retrieved from "Tor control" to which we connect if `-listenonion=1`.
So, the full Tor proxy retrieval logic is:
1. get it from `-onion`
2. get it from `-proxy`
3. if `-listenonion=1`, then connect to "Tor control" and get the proxy
from there (was forgotten before this change)
Fixes https://github.com/bitcoin/bitcoin/issues/24980
2022-09-05 17:52:08 +02:00
..
2022-08-16 20:00:19 -04:00
2022-04-22 09:04:39 -05:00
2022-07-20 13:10:12 +01:00
2022-08-29 08:10:35 -04:00
2022-08-13 13:55:38 +01:00
2022-07-20 15:34:36 +02:00
2022-08-31 16:51:32 +01:00
2022-08-20 11:55:17 +02:00
2022-08-29 08:10:35 -04:00
2022-08-05 14:59:15 +02:00
2022-07-29 14:43:11 +01:00
2022-02-16 14:59:20 +02:00
2022-06-29 16:35:02 +01:00
2022-09-01 19:49:11 +02:00
2022-08-22 14:59:58 +01:00
2022-08-31 15:10:26 +02:00
2022-09-02 09:50:46 +02:00
2022-09-02 09:50:46 +02:00
2022-09-01 15:43:30 -04:00
2022-06-11 14:55:18 +01:00
2022-06-20 12:22:05 +01:00
2022-09-02 09:50:46 +02:00
2022-08-20 09:32:53 +02:00
2022-08-31 08:38:24 +01:00
2022-09-05 13:54:36 +01:00
2022-06-06 12:12:03 +02:00
2022-04-26 10:43:33 +01:00
2022-08-31 08:38:24 +01:00
2022-05-12 08:57:22 +02:00
2022-04-20 14:29:29 +01:00
2022-07-30 11:04:09 +02:00
2022-07-30 11:04:09 +02:00
2022-07-30 11:04:09 +02:00
2022-04-14 07:15:22 +02:00
2022-04-14 19:26:22 +02:00
2022-06-14 10:38:51 +02:00
2022-05-20 15:17:00 +02:00
2022-04-27 14:16:35 +02:00
2022-05-21 13:54:33 -05:00
2022-02-25 09:43:54 +01:00
2022-08-29 08:10:35 -04:00
2022-08-19 17:11:06 +02:00
2022-07-27 13:27:57 +02:00
2022-07-20 10:34:46 +01:00
2022-07-20 10:34:46 +01:00
2022-07-20 10:34:46 +01:00
2022-05-17 10:37:10 +01:00
2022-05-17 10:37:10 +01:00
2022-08-24 10:15:32 +02:00
2022-08-31 16:51:32 +01:00
2022-08-31 15:10:26 +02:00
2022-08-23 16:05:00 -04:00
2022-07-20 15:34:36 +02:00
2022-08-24 00:04:00 +02:00
2022-05-12 02:25:55 +10:00
2022-02-22 15:36:19 +00:00
2022-02-22 15:36:19 +00:00
2022-08-19 17:11:06 +02:00
2022-06-21 16:19:10 +02:00
2022-05-21 13:54:33 -05:00
2022-07-27 13:27:57 +02:00
2022-03-30 20:11:15 +01:00
2022-08-03 12:03:28 -04:00
2022-07-19 14:32:53 +02:00
2022-07-19 14:32:53 +02:00
2022-05-10 12:09:33 +10:00
2022-05-10 12:09:33 +10:00
2022-02-16 15:02:26 +02:00
2022-07-27 13:27:57 +02:00
2022-04-21 12:01:00 -05:00
2022-06-20 12:22:05 +01:00
2022-08-19 08:58:56 +01:00
2022-08-30 13:52:45 +02:00
2022-07-20 15:34:36 +02:00
2022-08-30 12:09:04 -04:00
2022-08-29 08:10:35 -04:00
2022-05-18 19:15:03 +02:00
2022-07-20 10:34:46 +01:00
2022-04-06 13:19:36 +01:00
2022-08-16 13:02:21 +02:00
2022-08-11 17:51:18 +02:00
2022-09-05 17:52:08 +02:00
2022-06-02 11:42:12 -04:00
2022-08-04 11:32:26 +02:00
2022-08-04 11:32:25 +02:00
2022-09-01 15:57:56 -04:00
2022-08-30 12:09:04 -04:00
2022-08-29 08:10:35 -04:00
2022-08-12 13:00:06 +02:00
2022-04-26 16:25:38 -04:00
2022-06-23 15:33:01 +02:00
2022-02-28 16:59:56 +01:00
2022-06-14 16:55:22 +02:00
2022-04-11 16:56:34 -04:00
2022-07-15 12:26:00 -04:00
2022-04-11 16:56:34 -04:00
2022-08-29 08:10:35 -04:00
2022-07-20 10:34:46 +01:00
2022-08-30 14:11:21 -04:00
2022-08-29 08:10:35 -04:00
2022-05-18 19:15:03 +02:00
2022-09-01 20:55:22 +10:00
2022-09-01 20:55:22 +10:00
2022-05-17 17:18:58 +01:00
2022-07-20 10:34:46 +01:00
2022-07-27 13:27:57 +02:00
2022-07-20 10:34:46 +01:00
2022-04-25 15:09:14 +02:00
2022-04-20 14:35:53 +01:00
2022-06-14 10:38:51 +02:00
2022-08-16 20:00:19 -04:00
2022-08-18 16:47:15 -03:00
2022-08-23 11:34:10 -04:00
2022-08-23 11:34:10 -04:00
2022-05-16 16:25:47 +02:00
2022-08-20 15:11:28 +02:00
2022-07-26 11:06:10 +02:00
2022-06-27 16:47:48 -04:00
2022-08-10 11:58:17 -04:00
2022-08-10 14:25:43 -04:00
2022-08-04 11:32:25 +02:00
2022-07-20 10:34:46 +01:00
2022-07-13 15:21:12 +02:00
2022-07-20 10:34:46 +01:00
2022-08-16 17:26:28 +02:00
2022-03-10 12:01:53 +01:00
2022-05-17 17:18:58 +01:00
2022-05-12 02:25:55 +10:00
2022-07-26 11:05:04 +02:00
2022-06-14 10:38:51 +02:00
2022-04-26 09:41:45 +01:00
2022-06-29 10:31:53 +02:00
2022-05-21 01:23:23 +10:00
2022-07-13 15:20:49 +02:00
2022-08-20 09:33:01 +02:00
2022-08-05 14:59:15 +02:00
2022-08-05 14:59:15 +02:00
2022-07-20 10:34:46 +01:00
2022-03-15 01:33:52 +00:00
2022-07-22 12:45:07 +02:00
2022-07-19 14:12:33 +02:00
2022-08-02 15:29:16 +02:00
2022-08-04 16:56:33 +01:00
2022-07-28 14:39:45 +08:00
2022-07-28 14:39:45 +08:00
2022-08-30 14:11:21 -04:00
2022-08-30 15:37:59 +01:00
2022-05-21 13:54:33 -05:00
2022-05-09 18:35:44 +02:00
2022-05-05 15:55:44 +02:00
2022-05-12 02:25:55 +10:00
2022-05-21 01:23:23 +10:00