Learn feature bits of channel partner that does not have public channels #10264
Replies: 6 comments
-
|
@PatrickLemke in general when a node doesn't have a node_announcement (no public channels) we can't determine what sort of features it supports. when paying unadvertised nodes, you can set the in this case, keysend is dependent on TLV onions, which is feature bit 9. setting that in the rpc request will override what's in the graph (no feature bits at all). the case here is slightly different, because you can more readily determine your own channel peer's support. perhaps the PR title should reflect that the situation can be improved for your own private channels, given that lnd does support keysends to private nodes? |
Beta Was this translation helpful? Give feedback.
-
|
Yes I think that's exactly right. There could be a way to gossip with all your channel partners even if you have no public channels and are therefore not "visible" to the public network. |
Beta Was this translation helpful? Give feedback.
-
|
Is this title better? |
Beta Was this translation helpful? Give feedback.
-
|
@PatrickLemke yes that's perfect. in fact we already exchange feature bits on each connection with our peers via the |
Beta Was this translation helpful? Give feedback.
-
|
I also hit this issue with private channels and keysend. The suggested change would be useful to remove gossip traffic for low-bandwidth (eg. radio connected) nodes using keysend. This change should be complementary with #3999 also. |
Beta Was this translation helpful? Give feedback.
-
How? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
I have a channel with a node that does not have public channels. When I try to do a keysend to them, the failure message is Payment status: FAILED, reason: FAILURE_REASON_NO_ROUTE. Paying an invoice from that node works without issues however.
The reason for this seems to be that the route is calculated based on the public network graph. It does not take into account the fact that I have a channel with that node already and fails the payment.
Both nodes have accept-keysend enabled.
Your environment
Steps to reproduce
Open private channel with node that has no public channels.
Try to send keysend payment.
Expected behaviour
The payment should go through.
Actual behaviour
Payment fails with FAILURE_REASON_NO_ROUTE
Beta Was this translation helpful? Give feedback.
All reactions