Giter Club home page Giter Club logo

Comments (1)

dr-orlovsky avatar dr-orlovsky commented on July 3, 2024

I think the case with "not having a public ip" can be split into several variants, which have to be addressed in different ways:

  1. For mobiles, where IP constantly changes, there is no "listening" mode for the LN(P) node(s). Instead, a user would HAVE to run a full LN node on his own server - like at some "home box" or in a private cloud like the one provided by @nodl. At @mycitadel we will be providing both of that options for LNP Node.
  2. For hosts which are behind NAT, a special NAT traversal have to be used. While I am very interested in UDP hole punching, I still haven't a chance to do an implementation for it. So for now there are two main options:
  • expose a node as a Tor hidden service - and with https://github.com/Cyphernet-DAO/rust-cyphernet the LNP Node will get full tor support in the next release (v0.10)
  • use Bifrost network to "holepunch" NAT: if your local-behind-NAT node has a connection/channels with any other node a node interested in connecting your node can send a "RPC message" using sphinx routing specifying its IP address (or using an intermediary, if both nodes are behind NAT). It's like Tor Rendezvous protocol but over LN, without Tor :) BOLT-based LN nodes can't do that, but Bifrost can

Yes, we need to look what else can be added to LNP-BP invoices to get all of those options supported.

from lnp-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.