. #23818

issue uri44derr13 openend this issue on December 19, 2021
  1. uri44derr13 commented at 8:53 pm on December 19, 2021: none

    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.

    Screenshot from 2021-11-25 18-43-22

    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)

  2. fanquake closed this on Dec 20, 2021

  3. fanquake renamed this:
    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.
    .
    on Dec 20, 2021
  4. DrahtBot locked this on Dec 20, 2022


uri44derr13


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-10-02 18:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me