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

Ability to set inbound and outbound fees #4225

Closed
Swissnode opened this issue Apr 27, 2020 · 9 comments · Fixed by #6703
Closed

Ability to set inbound and outbound fees #4225

Swissnode opened this issue Apr 27, 2020 · 9 comments · Fixed by #6703
Assignees
Labels
brainstorming Long term ideas/discussion/requests for feedback channel management The management of the nodes channels fees Related to the fees paid for transactions (both LN and funding/commitment transactions) P1 MUST be fixed or reviewed routing
Milestone

Comments

@Swissnode
Copy link

As a major channel balancer and node operator, it has become clear to me and the community of channel balancers I work with that we really need the ability to incentivize traffic in certain directions.

As such, we would highly recommend having inbound and outbound fees to allow such incentivization.

@Roasbeef
Copy link
Member

As is, on the protocol level, you can only set the fees for outbound (routing an HTLC over that channel). The remote party controls the "inbound fees", since their bandwidth is used to carry the HTLC.

One thing we've discussed is possibly introducing "pair wise" fee schedules. So this would mean you can set different fees for A -> B, and A -> C, where B and C are your channels. We could possibly add some new TLV fields to the ChannelUpdate to make this possible, but no one has attempted to fully specify it yet.

@Roasbeef Roasbeef added brainstorming Long term ideas/discussion/requests for feedback channel management The management of the nodes channels fees Related to the fees paid for transactions (both LN and funding/commitment transactions) routing labels Apr 27, 2020
@Swissnode
Copy link
Author

Pairwise fees would be a GREAT option @Roasbeef ! Thanks for taking the time to look at this. I realise the discussion probably belonged on another repo, apologies if I hit the wrong one!!

Great work, loving Lightning and LND!

@Jestopher-BTC
Copy link

Jestopher-BTC commented Aug 15, 2020

Either pairwise fees or inbound fees are gravely needed for node management! Inbound liquidity is a scarce resource and it does not have the same value even in different channels; some inbound is worth more in certain channels than others.

@grnqrtr
Copy link

grnqrtr commented Aug 16, 2020

Just adding that I agree. Having some kind of "pair wise" fees or inbound fees would be really helpful.

@Roasbeef
Copy link
Member

This is a spec level thing, so closing here as the discussion needs to be started on the rfc repo and/or the dev mailing list.

@AbelLykens
Copy link
Contributor

Opened in RFC repo:
lightning/bolts#835
Link added for reference. Mentioned you @Swissnode as original.

@joostjager
Copy link
Contributor

But is this a spec level thing? It seems to me that this can also be a implementation-specific extension when inbound fees are always negative or zero. Ref: https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-July/003643.html

@Roasbeef
Copy link
Member

Re-opening since #6703 is now a thing

@Roasbeef Roasbeef reopened this Aug 25, 2022
@dstadulis
Copy link
Collaborator

relevant blip
lightning/blips#18

@saubyk saubyk added this to the High Priority milestone Aug 4, 2023
@saubyk saubyk added the P1 MUST be fixed or reviewed label Aug 8, 2023
@saubyk saubyk removed this from the High Priority milestone Aug 8, 2023
@saubyk saubyk added this to lnd v0.18 Aug 10, 2023
@saubyk saubyk moved this to 👀 In review in lnd v0.18 Aug 10, 2023
@saubyk saubyk added this to the v0.18.0 milestone Aug 10, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in lnd v0.18 Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorming Long term ideas/discussion/requests for feedback channel management The management of the nodes channels fees Related to the fees paid for transactions (both LN and funding/commitment transactions) P1 MUST be fixed or reviewed routing
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

8 participants