Skip to content

Commit 1dd3af8

Browse files
mzumsandevasild
andcommitted
Add release note for #31223
Co-authored-by: Vasil Dimov <[email protected]>
1 parent 997757d commit 1dd3af8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/release-notes-31223.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
P2P and network changes
2+
-----------------------
3+
When the `-port` configuration option is used, the default onion listening port will now
4+
be derived to be that port + 1 instead of being set to a fixed value (8334 on mainnet).
5+
This re-allows setups with multiple local nodes using different `-port` and not using `-bind`,
6+
which would lead to a startup failure in v28.0 due to a port collision.
7+
8+
Note that a `HiddenServicePort` manually configured in `torrc` may need adjustment if used in
9+
connection with the `-port` option.
10+
For example, if you are using `-port=5555` with a non-standard value and not using `-bind=...=onion`,
11+
previously Bitcoin Core would listen for incoming Tor connections on `127.0.0.1:8334`.
12+
Now it would listen on `127.0.0.1:5556` (`-port` plus one). If you configured the hidden service manually
13+
in torrc now you have to change it from `HiddenServicePort 8333 127.0.0.1:8334` to `HiddenServicePort 8333
14+
127.0.0.1:5556`, or configure bitcoind with `-bind=127.0.0.1:8334=onion` to get the previous behavior.
15+
(#31223)

0 commit comments

Comments
 (0)