aboutsummaryrefslogtreecommitdiff
path: root/src/crc32c/.gitignore
diff options
context:
space:
mode:
authorSergi Delgado Segura <sergi.delgado.s@gmail.com>2023-10-18 15:44:24 -0400
committerSergi Delgado Segura <sergi.delgado.s@gmail.com>2024-04-18 10:05:57 -0400
commitfd81a37239541d0d508402cd4eeb28f38128c1f2 (patch)
treec3cef425d7f063a240cec0596e5cc74a410cda96 /src/crc32c/.gitignore
parent2ffaa927023f5dc2a7b8d6cfeb4f4810e573b18c (diff)
net: attempts to connect to all resolved addresses when connecting to a node
Prior to this, when establishing a network connection via CConnman::ConnectNode, if the connection needed address resolution, a single address would be picked at random from the resolved addresses and our node will try to connect to it. However, this would lead to the behavior of ConnectNode being unpredictable when the address was resolved to various ips (e.g. the address resolving to IPv4 and IPv6, but we only support one of them). This patches the aforementioned behavior by going over all resolved IPs until we find one we can connect to or until we exhaust them.
Diffstat (limited to 'src/crc32c/.gitignore')
0 files changed, 0 insertions, 0 deletions