You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to implement a feature in charge-lnd that allows setting inbound fees dynamically based on the outbound fee of a channel?
For example, if a channel has an externally set outbound feerate of 400 ppm, charge-lnd should be able to apply a predefined negative fee offset, such as -40 ppm, resulting in an inbound fee of -360 ppm.
The idea is to let charge-lnd retrieve the outbound feerate and then apply a custom discount to determine the inbound fee.
This would allow defining a list of peers in a file, for whom charge-lnd automatically applies an inbound fee offset based on their outbound fee.
A similar approach has reportedly led to significant liquidity flow improvements and a 20-25% profit increase in another project, and would let to a better atumatization of the liquidy managment of a routing node making things a bit easy for a noderunner :)
Would this be feasible for charge-lnd?
Greetings from wario
The text was updated successfully, but these errors were encountered:
The parameter you are looking for is called inbound_level_ppm. If you set it, the inbound fee rate is calculated by min(inbound_level_ppm - fee_ppm; 0). Hence you have to set it to 40.
Hello,
Would it be possible to implement a feature in charge-lnd that allows setting inbound fees dynamically based on the outbound fee of a channel?
For example, if a channel has an externally set outbound feerate of 400 ppm, charge-lnd should be able to apply a predefined negative fee offset, such as -40 ppm, resulting in an inbound fee of -360 ppm.
The idea is to let charge-lnd retrieve the outbound feerate and then apply a custom discount to determine the inbound fee.
A potential configuration could look like this:
This would allow defining a list of peers in a file, for whom charge-lnd automatically applies an inbound fee offset based on their outbound fee.
A similar approach has reportedly led to significant liquidity flow improvements and a 20-25% profit increase in another project, and would let to a better atumatization of the liquidy managment of a routing node making things a bit easy for a noderunner :)
Would this be feasible for charge-lnd?
Greetings from wario
The text was updated successfully, but these errors were encountered: