aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoramadeuszpawlik <apawlik@protonmail.com>2021-05-27 14:07:35 +0200
committerAmadeusz Pawlik <amadeusz.pawlik@getinge.com>2022-10-05 19:30:15 +0200
commit04526787b5f6613d1f1ad78434e1dd24ab88dd76 (patch)
tree042d06ec0cafb8cd9d346ea55bb2ef9bc9b81a61 /doc
parentf8387c42343867779170a0f96ef64e6acff5c481 (diff)
downloadbitcoin-04526787b5f6613d1f1ad78434e1dd24ab88dd76.tar.xz
Validate `port` options
Check `port` options for invalid values (ports are parsed as uint16, so in practice values >65535 are invalid; port 0 is undefined and therefore considered invalid too). This allows for an early rejection of faulty values and an supplying an informative message to the user. Splits tests in `feature_proxy.py` to cover both invalid `hostname` and `port` values. Adds a release-note as previously valid `-port` and `-rpcport` values can now result in errors.
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes-22087.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/release-notes-22087.md b/doc/release-notes-22087.md
new file mode 100644
index 0000000000..8d7fd242b2
--- /dev/null
+++ b/doc/release-notes-22087.md
@@ -0,0 +1,4 @@
+Updated settings
+----------------
+
+- Ports specified in `-port` and `-rpcport` options are now validated at startup. Values that previously worked and were considered valid can now result in errors. (#22087)