Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Routing hints for private channel invoice #2165
The creation of private channels is already possible in Zap, thanks!
The receiver can include routing hints within the invoice he provides to the sender.
We do already support this to some degree. When running as a neutrino light client we always default to private channels and we include the routing hints in invoices that we create.
When connecting to a a remote node we make the assumption that your node is probably an always on node, more suitable as a routing candidate and that your channels are public. So in this instance we do not include the routing hints.
I think a good enhancement to this would be to give owners of remote nodes the ability to make this choice for themselves and override our assumptions about wether or not routing hints should be included when creating invoices.