Inbound fees: clarification #9450
-
I know the answer is already somewhere nearby, so I'm sorry for asking : ) Is it possible for me to lose some sats if my outbound fee in the channel is lower that my peer's inbound fee in the same channel? In other words. I have a channel and set my outbound ("normal") fee as 200 ppm in this channel. My peer set his inbound fee as 300 ppm in the same channel. Does it mean that I lose 100 sats if I send 1M sats to my peer in this channel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
By "sending", do you mean to forward, or making a payment to your peer? What do you mean by "losing", paying a fee? And the 300 ppm you mention are positive or negative (inbound fee discount)? In general, inbound fees are computed by looking at the incoming edge's inbound fee policy and the outgoing edge's outbound fee policy and negative inbound fees are capped such that they are not allowed to be more negative than the outbound fee, for a routing node to not lose money when forwarding. |
Beta Was this translation helpful? Give feedback.
As the forwarding node, there's no risk that you'll lose sats for the forwarding the HTLC, regardless of if the next node in the path has set any inbound fees for the channel or not.
The only scenario where you might "lose" sats is if you, as the routing node, have set negative inbound fees for the channel over which the HTLC is forwarded to you. By definition, setting negative inbound fees means offering a discount on fees when forwarding an HTLC through that channel.
In some sense, you could count this discounted fee as "losing" sats because it reduces the …