What is Nostr?
Joost Jager [ARCHIVE] /
npub1asl…fqmx
2023-06-09 13:06:31
in reply to nevent1q…4amd

Joost Jager [ARCHIVE] on Nostr: 📅 Original date posted:2022-07-01 📝 Original message: > > Path-finding ...

📅 Original date posted:2022-07-01
📝 Original message:
>
> Path-finding algorithms that are currently in use generally don’t support
> negative fees. But in this case, the sum of inbound and outbound fees is
> still positive and therefore not a problem. 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.
>

Correction to this:

The sum of inbound and outbound are not the fees set by one 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220701/632a50ce/attachment.html>;
Author Public Key
npub1aslmpzentw224n3s6yccru4dq2qdlx7rfudfnqevfck637cjt6esswfqmx