-
Notifications
You must be signed in to change notification settings - Fork 276
Description
By deactivating a security switch, it is possible to set positive inbound fees on LND nodes.
Channels with positive inbound fees are not backwards compatible and they mess with the route finder in an unexpected way.
If a node (not knowing about inbound fees) tries a route containing a single hop with positive inbound fees, that route will fail.
The failure is “insufficient Fee” at node X. When receiving this error eclair (and all other implementation afaik) will attribute that error to the outbound channel of the node.
But in reality, the error happened on the inbound channel.
By attributing the error to the wrong edge the ability to find routes decreases.
Currently this effect is not very strong, as there are only very few nodes with positive inbound fees.
As eclair currently does not intend to support this version of inbound fees I would suggest to at very least block all channels with positive inbound fees by adding them to the ban list.
Those channels will never work and with this simple trick you will prevent the route finding from slowly falling spiraling into madness.