If you are performing a self payment on your lightning node, be sure to set your ppm high enough so you can at least break even on the channel you increased the outbound of. To calculate this:

RoutingFee / amountRouted * 1000000 = ppm to set to break even assuming the channel fully drains.

I will be talking about this and more at The Atlanta Bitcoin Conference! tabconf.com / https://github.com/TABConf/2023.tabconf.com/issues/68

#bitcoin #lightningnetwork #runanode

Reply to this note

Please Login to reply.

Discussion

I really don't understand this. If I pay to myself I get myself all the routing fee from my side of the channel, right? So what ever fee I charge will be back in my wallet, correct?

Then you only pay fee on the other side of the channels and possibly channels in between, but these are out of our control.

I'm seriously interessted in this talk as I have trouble with channels getting drains and it seams I don't get routing fees when it happens, but probly I misunderstood something or I'm not looking at the right place.

You pay a routing fee to every node on the network that is participating in routing the payment back to your node via the channel you specified. This fee can be high, so it is important to take note and only do it if you are expecting to earn that fee back or more from forwarding through the channel that the circular payment increased the outbound of. It's simple but tough to explain.