File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -746,13 +746,6 @@ func (n *network) Dispatch() error {
746
746
// Note: listener.Accept is rate limited outside of this package, so a
747
747
// peer can not just arbitrarily spin up goroutines here.
748
748
go func () {
749
- // We pessimistically drop an incoming connection if the remote
750
- // address is found in connectedIPs, myIPs, or peerAliasIPs. This
751
- // protects our node from spending CPU cycles on TLS handshakes to
752
- // upgrade connections from existing peers. Specifically, this can
753
- // occur when one of our existing peers attempts to connect to one
754
- // our IP aliases (that they aren't yet aware is an alias).
755
- //
756
749
// Note: Calling [RemoteAddr] with the Proxy protocol enabled may
757
750
// block for up to ProxyReadHeaderTimeout. Therefore, we ensure to
758
751
// call this function inside the go-routine, rather than the main
You can’t perform that action at this time.
0 commit comments