Configure htlc_max via plugin or API #2213
Replies: 2 comments 11 replies
-
The "proper" way of signalling that a channel shouldn't be used would actually be to set the
You can't customize this value, as per the protocol spec for privacy reasons:
Let's say you change your mind and choose to implement it with custom fees, here is how you would do it:
|
Beta Was this translation helpful? Give feedback.
-
If I were to only update the max_htlc when I update the fee anyway, that would not increase the traffic on the network, right? The value is present in each update anyway afaik? If I am ok with my channel state being leaked out to others, wouldn’t this massively help in route finding? |
Beta Was this translation helpful? Give feedback.
-
Hi, I am an operator of routing Eclair node. There is a common practice to set higher fees when channel is depleted. That helps to reduce failing payment rate as wallets tend to select routes with lower fees. But, the approach conflicts with my marketing strategy to sustain low fees on my node. Dynamic fees skew statistics on explorers services.
There is also another way to signal wallets that the channel is not suited for payment. It is setting max_htlc parameter dynamically. The advantage of the method is that I can set constant fees and get encourage natural rebalancing simultaneously.
I want to implement a plugin for Eclair to set max_htlc dynamically, but I struggle to find part of sources that I should dig in. Could someone help me by pointing where to start?
Beta Was this translation helpful? Give feedback.
All reactions