Lnd: Ability to set inbound and outbound fees

Created on 27 Apr 2020  路  4Comments  路  Source: lightningnetwork/lnd

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.

brainstorming channel management fees routing

Most helpful comment

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.

All 4 comments

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.

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!

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MrManPew picture MrManPew  路  3Comments

AnthonyRonning picture AnthonyRonning  路  3Comments

BitBargain picture BitBargain  路  3Comments

danielemiliogarcia picture danielemiliogarcia  路  3Comments

hxsquid picture hxsquid  路  3Comments