2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-04 18:00:26 +00:00
This commit is contained in:
Andreas M. Antonopoulos 2020-10-14 09:18:36 -05:00
parent 04bf9b1601
commit 9522121745

View File

@ -212,6 +212,11 @@ Because Bitcoin is censorship resistant, no one can prevent someone from publish
The way the penalty works is by giving the cheated party an opportunity to claim the balance of the cheater. So if someone attempts to cheat by broadcasting an old commitment transaction, in which they are paid a higher balance than they are due, the other party can punish them by taking *both* their own balance and the balance of the cheater. The cheater loses everything.
[TIP]
====
You might notice that if Alice drains her channel balance almost completely, she could then risk cheating with little risk. Bob's penalty wouldn't be so painful if her channel balance is low. To prevent this, the Lightning protocol requires each channel partner to keep a minimum balance in the channel as "skin in the game".
====
Let us go through the channel construction scenario again, adding a penalty mechanism to protect against cheating:
* Alice creates a channel with Bob and puts 100k satoshi into it.