fix: issue 6847 default peering port to 2459#6848
fix: issue 6847 default peering port to 2459#6848shortthefomo wants to merge 1 commit intoXRPLF:developfrom
Conversation
|
If only the most recent commit is unsigned, you can run:
If multiple commits are unsigned, you can run:
If you're new to commit signing, there are different ways to set it up: Sign commits with
|
…higher up in the config default file. This just forces lazy operators accross.
6cacf0f to
8f9d718
Compare
|
This is long overdue. |
|
@bthomee how do you feel about the convention of leaving default items in config files commented out? |
That sounds reasonable to me, in principle. However, do we have any mechanism in place to guarantee that the values we think are the default (as stated in the config file) are actually the default (as executed by the code)? |
The [port_peer] section is purely user-configured — there's no fallback to DEFAULT_PEER_PORT if [port] is omitted (it would just fail to parse). The 2459 default only kicks in for [ips]/[ips_fixed] entries and the connect RPC when no port is specified. By that view as well then one should default the whole stanza for [port_peer] ? |
only leave the correct default in place 2459 and not 51235
force the default port, the backwards compatibility is still present higher up in the config default file. This just forces lazy operators across.
default port was giving back in 2019 #3037
the definition is still provided higher up in the file
fixes issue #6847