Ok, so I was able to add a function successfully that can check if the given string is a valid <host>:<port>
pair or not. The issue is that I cannot raise an error when the argument is wrongly passed when initializing bitcoind.
In fact, bitcoind is not raising an error for any invalid argument passed at initialization.
Expected outcome would be an error message and exiting.
Just a confirmation. When the ./src/bitcoind
command is initially run with invalid parameters, do we expect an error message and exit? Or is it expected to occur later in the runtime of bitcoind?
Originally posted by @shaavan in #23589 (comment)