Timeline for In a Lightning Network who commits to the blockchain the final transaction?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 14, 2017 at 17:27 | comment | added | Ava Chow♦ | @NirO. LN does not solve that problem. If there is so many transactions in the future that that happens, something else will need to be done to increase the onchain transaction capacity. | |
Dec 14, 2017 at 17:22 | comment | added | Nir O. | but what would make the lightning network commit to the blockchain in a timely fashion? what if on 2020 adding a transaction to the blockchain takes 10 months, how lightning network solves that? | |
Jul 5, 2017 at 7:12 | vote | accept | Luca Matteis | ||
Jul 4, 2017 at 23:04 | comment | added | Ava Chow♦ |
No. When A sends 0.52 to B, B gets all of the 0.52 in his A <-> B channel. Then B sends 0.51 to C and C gets all 0.51 in his B <-> C channel. Then C sends 0.5 to D and D gets 0.5 in his C <-> D channel. So if the A <-> B channel closes, D has his 0.5 from the C <-> D channel and A still has spent 0.52 which is now with B. With LN, A doesn't actually directly make an output to D unless they have a channel open with each other.
|
|
Jul 4, 2017 at 22:14 | comment | added | Luca Matteis | When A sends to B 0.52 btc, does it have 0.5 btc as output to D and 0.2 to B? Then B sets as output 0.1 for C and 0.5 to D. And finally C just a single output of 0.5 to D? Also, if the A->B channel ends, and the 0.52 tx is commited to the blockchain, D has his money and so does B (the 0.2 fee), but what about C and D? | |
Jul 4, 2017 at 18:12 | comment | added | Ava Chow♦ |
The fees work via the differences in channel balances. For example (values not representative of actual), for a route of A -> B -> C-> D-> where A sends D 0.5 BTC, A, via its channel with B, would send to B 0.52. Then B, via its channel with C, would send to C 0.51. Then C, via its channel with D, would send to D 0.5. In this way, B and C collect their fees from their channel balances and D receives the amount that he asked for.
|
|
Jul 4, 2017 at 18:09 | comment | added | Luca Matteis | Ok but how does the fee economy within LN work? I remember reading that all nodes that help route the transaction to destination is incentivized to do this via fees. How so? | |
Jul 4, 2017 at 18:03 | history | answered | Ava Chow♦ | CC BY-SA 3.0 |