Inbound channel routing fees



Summary:

Path-finding algorithms currently in use do not support negative fees, but the sum of inbound and outbound fees is still positive and therefore not a problem. However, if routing nodes set their policies accidentally or intentionally so that the sum of fees turns out negative, senders can just round up to zero and find a path as normal. It's important to note that the sum of inbound and outbound fees are not set by a single routing node. When path-finding considers a candidate hop, this adds the outbound fee of the "from" node and the inbound fee of the "to" node. Because those nodes don't necessarily coordinate fees, it may happen more often that the fee goes negative. Rounding up to zero is still a quick fix and better than ignoring inbound fees completely.


Updated on: 2023-06-03T09:34:19.345903+00:00