Pick the best node address for an outbound VPN connection. Prefers IPv4
when present; falls back to the first entry (typically IPv6) otherwise.
Sentinel chain does not guarantee ordering of result.addrs returned by
the node handshake, so consumers on v4-only networks need this preference
to avoid silent dial failures on dual-stack nodes.
Parameters
addrs: string[]
Address strings from result.addrs (no port suffix expected)
Returns string
The preferred address, or addrs[0] if no IPv4 is found
Pick the best node address for an outbound VPN connection. Prefers IPv4 when present; falls back to the first entry (typically IPv6) otherwise.
Sentinel chain does not guarantee ordering of
result.addrsreturned by the node handshake, so consumers on v4-only networks need this preference to avoid silent dial failures on dual-stack nodes.