Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: use advertised address when reestablishing inbound connections
In this commit, we update the way we reestablish inbound connections if we lose connectivity to a node we have an open channel with. Rather than fetching the node's advertised port, we'll fetch one of their advertised addresses instead. This ensure that if the remote node is running behind a proxy, we do not see the proxy's address.
- Loading branch information
Showing
1 changed file
with
18 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters