prevent dialing addresses that we're listening on
It's impossible to run two nodes on the same IP:port, so we know for sure that any dial to an address that we're listening on will fail (as the peer IDs won't match). In practice, this will be most useful for preventing dials to localhost for nodes that are listening on the default port.
Showing
Please register or sign in to comment