Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Re: The Lightning Network FAQ
by
garlonicon
on 03/07/2021, 13:46:37 UTC
⭐ Merited by LoyceV (2) ,ETFbitcoin (1)
Quote
Let A be the last node that has a closing channel transaction updated. How does node B know that everything ended well and all nodes were updated.
It is solved by timeouts. You start from some huge timeout of "N*unit" and decrease it by "unit" for each node. In this way, timeouts are reached from the last node to the first. That means the first node cannot simply run away with its coins, because the timeout for the last node occurs first. Also, there are penalty transactions, so each node doing stupid things is putting the whole channel balance at risk.