Files
bitcoin/test/functional/feature_config_args.py
w0xlt 69465de447 init: ignore empty addnode values
An empty -addnode currently creates an unresolvable added-node record
that is retried indefinitely. Ignore empty values instead, retaining
startup compatibility while avoiding useless records and connection
attempts.

Values consisting of whitespace only are ignored as well. They can only
be passed on the command line, as the config file parser trims them
away, and are just as unresolvable.

The ignored values are logged, so that the option not taking effect is
not silent.
2026-07-27 00:19:46 -07:00

31 KiB
Executable File