For example:
I open 3 channels (A, B and C) and put on each channel 100.000 sat
D opens a channel with me also 100.000 sat.
So… my additional local balance is local 300.000 and remote 100.000 in total 400.000 sat
Example 1)
I spend 50.000 sat for a nice coffee
After this my local balance is 250.000 sat and my remote is 150.000 sat. Total 400.000 sat.
when I will close all channels at this point I will receive 250.000 sat back, because I spent 50.000 from my 300.000 to a coffeeshop. thats clear!
Example 2)
D, who opened a channel with me spends 70.000 sat to someone else. (My Channel C transferred the Bitcoins to a third party.)
channel A,B are unchanged (100.000 local and 0 remote)
But channel D is now 70.000 local and 30.000 remote
My Channel C changed to 30.000 local and 70.000 remote.
All in all 230.000 local and 170.000 remote. in total 400.000 sat.
How much will I receive at this time when I close all channels at this time? I didn’t spent any Bitcoin by my self. Do I get 300.000 sat ?
Can anyone explain this ?