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

Inbound fees send support #3590

Open
joostjager opened this issue Feb 6, 2025 · 3 comments
Open

Inbound fees send support #3590

joostjager opened this issue Feb 6, 2025 · 3 comments

Comments

@joostjager
Copy link
Contributor

joostjager commented Feb 6, 2025

LND version 0.18 which was released on May 30, 2024 included support for negative inbound routing fees. This feature allows routing node operators to offer a discount for traffic that comes in through specific channels.

Background information:

Now that almost a year has passed since, it seems that there is some uptake of the feature by node operators. LDK ignores negative inbound fees and therefore senders using LDK are potentially overpaying.

To address just that, LDK would only need to get send support. Receive support is exclusively relevant to routing nodes.

Additionally, it is worth considering extending the rapid gossip sync protocol to become more flexible with regards to extra channel update parameters - for inbound fees and also for what else might be added going forward.

In the network, there are currently (Feb 2025) around 2000 channel ends for which the node on that end advertizes a non-zero inbound fee. For a list of those nodes and the number of inbound fee channels per node, see Inbound fees analysis - nodes.csv

For 95% of the channels, the base fee is set to zero with just a proportional inbound fee set. The proportional inbound fee distribution (non-zero, down to -20 basis points) is shown here:

Image

@TheBlueMatt
Copy link
Collaborator

TheBlueMatt commented Feb 6, 2025

We should probably see how things go with the new gossip - there's been some discussions to add this as a formal part of gossip in the new gossip format, and that discussion may inform us about what the arguments are for or against this going forward (and also might actually enable positive inbound fees, or maybe only positive inbound fees and not negative ones).

@joostjager
Copy link
Contributor Author

Can of course wait for that, but keep an eye on this in the mean time to make sure that not too many sats are left on the table.

@joostjager
Copy link
Contributor Author

Earlier exploration: #1942

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants