7
1
I've been educating myself on how the Lightning Network protocol works, and I have some questions.
Let's say that a user sends a small payment to someone and it makes multiple hops through the network before reaching the recipient. The payment then propagates backward through the chain until it reaches the payer, and everything settles out.
It's possible that a node in the middle either either intentionally or unintentionally does not pay the next node down the line. The recourse is for the node that did not get paid to broadcast the transaction to the blockchain (and close the channel?).
Who pays the fees for for that transaction? What happens if the fee is significantly larger than the amount of money the node would gain by broadcasting the transactions?
This seems like it could potentially be a large attack vector. Is there something I am misunderstanding?
"The node is already cryptographically committed to pay. It's impossible at that point for them not to pay."
Sure, but if the amount of the transaction is higher than the current BTC fees it would cost the node that did not get paid more than the amount sent to force the transaction than they would receive by doing so. – Anthony – 2018-04-25T19:22:47.113
@Anthony: The recipient of the payment can use the preimage to claim the committed funds from the HTLC. Then initiate the unilateral close. I don't understand your interjection. https://github.com/lightningnetwork/lightning-rfc/blob/master/05-onchain.md#htlc-output-handling-local-commitment-remote-offers
– Murch – 2018-04-25T23:35:20.900you say, "If the fee for closing a channel is higher than the channel's capacity, it probably makes more sense to leave it open until fees get lower.", but what if that never happens? miner fees are expected to go up over time as coinbase tx values go down. what happens if the channel can never settle? – mulllhausen – 2018-10-30T04:43:46.547