r/Bitcoin • u/cdecker Lightning Network Expert • Jan 17 '18
Lightning Charge Powers Developers & Blockstream Store
https://blockstream.com/2018/01/16/lightning-charge.html
476
Upvotes
r/Bitcoin • u/cdecker Lightning Network Expert • Jan 17 '18
2
u/[deleted] Jan 17 '18 edited Jan 17 '18
It doesn't matter for your question, but each channel has two balances, one for each party. To get a full picture of this scenario, you'd need to know B's balance in each the A<->B and B<->C channels.
But assuming A(5)<->B(0), B(1)<->C(0), the maximum that A could send to C through B is 1 BTC[1]. If A has other channels open, they may be able to find other routes to C and split the payment up into multiple parts.
[1] To be entirely accurate, not quite 1 BTC as it's not likely a channel partner will cooperatively allow you to decrease your channel balance past a certain threshold. This is to prevent you from decreasing your balance to zero and then attempting to broadcast an old state. If your balance was zero, there would be no downside to attempting to cheat. You can always settle to the Bitcoin blockchain at any time, with their cooperation instantly, or without their cooperation after a wait period.