Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOLT 1: adds remote address to optional init_tlvs (IP discovery) #917

Merged
merged 1 commit into from Jan 17, 2022

Commits on Jan 7, 2022

  1. BOLT 1: adds remote address to optional init_tlvs

    This adds the option to report an remote IP address back to a connecting
    peer using the `init` message. A node can decide to use that information
    to discover a potential update to its public IPv4 address (NAT) and use
    that for a `node_announcement` update message containing the new address.
    
    The proposal includes reporting the IPv4 and IPv6 address,
    however in IPv6 there are likely no NAT issues. TOR is skipped for
    obvious reasons.
    
    Certain approaches to check and use this information are thinkable:
     - Wait for multiple peers or a certain fraction to report the
       same new address.
     - Check some random node known via gossip to also report the new
       address.
     - Verify this information by making a test connection to itself.
    m-schmoock committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    efe9d2d View commit details
    Browse the repository at this point in the history