Files
bitcoin/src
Martin Zumsande bbde830b97 net, init: derive default onion port if a user specified a -port
After port collisions are no longer tolerated but lead to
a startup failure in v28.0, local setups of multiple nodes,
each with a different -port value would not be possible anymore
due to collision of the onion default port - even if the nodes
were using tor or not interested in receiving onion inbound connections.

Fix this by deriving the onion listening port to be -port + 1.
(idea by vasild / laanwj)

Co-authored-by: Vasil Dimov <vd@FreeBSD.org>

Github-Pull: bitcoin/bitcoin#31223
Rebased-From: 0e2b12b92a
2024-12-13 21:15:23 -05:00
..
2024-07-24 15:57:01 +01:00
2024-09-16 11:57:21 -04:00
2024-07-08 11:12:01 +02:00
2023-10-12 11:27:19 +02:00
2024-08-06 01:38:10 +02:00
2024-08-06 01:38:10 +02:00
2024-06-13 11:20:49 +01:00
2024-08-06 01:38:10 +02:00
2023-11-16 11:36:22 +10:00
2024-07-24 15:57:01 +01:00
2024-08-04 08:51:36 +02:00
2023-09-13 11:37:45 +01:00
2024-05-20 16:48:19 +00:00
2024-07-08 11:12:01 +02:00
2024-07-08 11:12:01 +02:00
2024-05-14 10:24:31 +02:00
2024-05-14 10:24:31 +02:00
2024-07-08 11:12:01 +02:00
2024-07-08 11:12:01 +02:00
2023-11-16 11:36:22 +10:00