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-07-20 15:34:36 +02:00
2022-08-05 14:59:15 +02:00
2022-08-22 14:59:58 +01:00
2022-06-20 12:22:05 +01:00
2022-04-20 14:29:29 +01:00
2022-07-20 15:34:36 +02:00
2022-06-20 12:22:05 +01:00
2022-07-20 15:34:36 +02:00
2022-08-04 11:32:25 +02:00
2022-07-20 10:34:46 +01:00
2022-08-04 11:32:25 +02:00
2022-08-16 17:26:28 +02:00
2022-07-26 11:05:04 +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-19 14:12:33 +02:00
2022-08-30 14:11:21 -04:00