I'm trying to create a graph of the LN network using data from https://ln.fiatjaf.com/. I used the channel data to get all the active channels for any given duration and created a graph using the nodes of the said channels. The next step was to find the largest connected component that yielded 20k LN nodes. Of 20k LN nodes, a good portion (~5k nodes) do not have an address field. This data was queried using https://1ml.com/. I was just trying to find if there is any reason behind it, because based on my understanding if a node is part of a fully connected component, it should have one of IPv4, IPv6, or an onion address.

1 Answer 1


Lightning nodes do not need to advertise an external IP address. This does prevent other nodes from connecting to you, but you can still connect to other nodes (as long as they have a public address) and open channels to them. Other nodes will not be able to open a channel to you unless you're already connected to them.

  • 1
    1. So how are gossip messages propagated to these non-ip nodes? and 2. What about connections that need to be formed if the node in question is the recipient of a transaction? 3. Does this apply to LN nodes running on TOR too? Feb 8, 2022 at 17:08
  • Update: So when a node connects to a node in the LN network, is a peer-to-peer connection, and all communication happens on this connection. With communication, on the connection I mean, channel creation, channel updates, and all the gossip messages. Basically, this connection is persistent until the node goes offline. Is my understanding correct? Feb 9, 2022 at 9:21
  • 1
    @VinayShetty: The nodes to have an ip-address but just don't list it publicly. These nodes can create connections to their peers and get gossip + information about receiving transactions from them.
    – Erik
    Jul 4, 2023 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.