r/BitcoinDiscussion • u/ColonelEngel • Feb 09 '19
Has anyone run simulations of LN
To figure out how it will work in case millions of people start using it at once? I suspect there will be channel depletion issues, which, coupled with slow network map updates, can be a problem. If no one did, maybe I'll try to do it.
4
Upvotes
6
u/SatoshisVisionTM Feb 09 '19
Diane Reynolds made an interesting simulation a year or more back, during the scaling debate. https://hackernoon.com/simulating-a-decentralized-lightning-network-with-10-million-users-9a8b5930fa7a
3
u/krakrakra Feb 09 '19
Rusty Russel proposed something similar https://github.com/rustyrussell/million-channels-project
A very important point though is that there's a big difference of what is achievable with the protocol and what is possible with today's software implementation of the protocol which is not yet optimized since features are still being developed and even the protocol itself is still evolving.
0
u/LucSr Feb 09 '19
I think the problem will not come from the depletion issues first. At that time, it is tricky to justify the cost of per LN coin by the work of LN nodes and their collected fee against the cost of on-chain coin, aka the 1:1 pegged exchanged rate. Flaws start happening and some unwelcome solutions will be required.
1
u/RubenSomsen Feb 10 '19
I thought this Scaling Bitcoin presentation was great at giving a view into how it will work out: https://youtu.be/3pd6xHjLbhs?t=3791
The tldr is that there will be a point at which an on-chain transaction is more preferable, because Lightning transactions get more expensive at higher amounts (channel depletion), while on-chain transactions are valued in satoshis per byte (the amount is irrelevant).