p2p-node
p2p-node copied to clipboard
Only accept IP addresses for hosts
For hostname addresses that produce lists of valid peer IP addresses, ensure that the hostname passed to connect to is a bare IP address. Reject any attempts to create a Peer with a hostname that's not an IP address, and add a method to create a Peer via DNS lookup (would have to be an asynchronous call).