You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 03_how_ln_works.asciidoc
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,9 +77,12 @@ Beyond all the technical primitives, the Lightning Network protocol is a creativ
77
77
As we saw in the previous chapter, Alice used her wallet software to create a payment channel between her and another Lightning Network participant.
78
78
79
79
A channel is only limited by three things:
80
-
First, the time it takes for the internet to transfer the few hundred bytes of data that the protocol requires to move funds from one end of the channel to the other.
81
-
Second, the capacity of the channel, meaning the amount of bitcoin that is committed to the channel when it is opened.
82
-
Third, the maximum size limit of a Bitcoin transaction also limits the number of incomplete (in progress) routed payments that can be carried simultaneously over a channel.
80
+
81
+
* First, the time it takes for the internet to transfer the few hundred bytes of data that the protocol requires to move funds from one end of the channel to the other.
82
+
83
+
* Second, the capacity of the channel, meaning the amount of bitcoin that is committed to the channel when it is opened.
84
+
85
+
* Third, the maximum size limit of a Bitcoin transaction also limits the number of incomplete (in progress) routed payments that can be carried simultaneously over a channel.
83
86
84
87
Payment channels have a few very interesting and useful properties:
85
88
@@ -214,7 +217,7 @@ The way the penalty works is by giving the cheated party an opportunity to claim
214
217
215
218
[TIP]
216
219
====
217
-
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 (called the "reserve") so the always have "skin in the game".
220
+
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 (called the "reserve") so they always have "skin in the game".
218
221
====
219
222
220
223
Let us go through the channel construction scenario again, adding a penalty mechanism to protect against cheating:
0 commit comments