Startup -addnode values are copied directly into the connection manager's added-node list. Unlike runtime addnode add calls, this path does not reject repeated values.
For example:
-addnode=example.com
-addnode=example.com
Both entries are currently stored. While the destination is disconnected, ThreadOpenAddedConnections() processes
each entry during every retry cycle.
This can cause redundant DNS lookups, connection attempts, and log messages. getaddednodeinfo also reports the repeated entry.
This change is complementary to, and independent of, #35600.
#35600 prevents overlapping manual connection attempts by tracking destinations while a connection attempt is in progress.
This PR instead removes repeated -addnode values before the connection threads start, preventing duplicate stored entries and sequential redundant retries.
It does not replace or broaden #35600's in-flight connection handling.