r/btc • u/minitoxin • Oct 22 '23
📰 News Bitcoin core developer steps back from Lightning Network over “hard dilemma”
https://cointelegraph.com/news/bitcoin-core-developer-antoine-riard-steps-back-lightning-network-dilemma?utm_source=substack&utm_medium=email24
24
u/jaimewarlock Oct 23 '23
The lightning network is basically a giant state machine limited by the speed of light. One of my first jobs was working with in circuit emulators. There were all sorts of timing issues and race condition errors even with traces less than a foot long.
So when I saw the plan for chained lightning channels, I knew there would be serious bugs due to speed of light limitations around planet Earth. Now I couldn't predict the exact nature of these bugs because they depend on how everything is implemented. I just knew as an experienced engineer that it would be a huge issue and get incredibly bad if the lightning network reached a certain point. If some channel states are changing every millisecond, but it takes several milliseconds for a new request to propagate, then the request will be invalid by the time it reaches the node.
So Lightning engineers tried to avoid the hard issue of global timing by simply allowing a delta time for a request to be accepted. Of course, this opened up an attack vector.
As far back as early 2018, I expected this issue to finally be acknowledged at some point. I also expect that the final solution will be to "only open lightning channels with people you trust." I still expect to see that solution at some point, eventually leading to just ledgers, then to fractional BTC banking.
When they talk about "Watchtowers" to keep everyone honest, you know it's an electronic dystopia.
4
u/NonTokeableFungin Oct 23 '23 edited Oct 23 '23
Very interesting. Thanks for that.
My impression (limited knowledge) is that LN just won’t work.
State Channels have been tried. And found lacking.
Just no way to accommodate many millions of users.
And of course it really world need to have many multiple millions every day - if its ever to have a chance to produce the - let’s say - $25 to $30 M of miner revenue per day.Anyway…. Now would you estimate that LN is “doomed”. Or is it “fixable” ?
If I understand your input ( & I likely don’t??) is it not feasible to insert a time delay to allow transactions to spread across the network, before being invalidated?
Thnx.9
u/jaimewarlock Oct 23 '23
Lightning is actually useful for opening a micro-payment channel to one person. Say for Wifi access point and you keep updating the channel as you use bytes.
It is trying to relay payments across channels that becomes an issue.
LN as a way to ignore increasing the blocksize is doomed.
I can't say BTC is doomed, because it could become a world reserve currency for nations and large banks that wouldn't mind paying thousands of dollars for a transaction. It's inefficiency might actually be a feature for them, since it would keep out the average citizen.
2
u/sandakersmann Oct 23 '23
They might not mind paying thousands of dollars for a transaction, but I'm sure they will mind buying BTC since it's mostly in private hands.
1
u/jessquit Oct 25 '23
Lightning is actually useful for opening a micro-payment channel to one person.
but it's totally unnecessary overhead, when ,much simpler payment channel solutions already exist
1
u/rkalla Oct 24 '23
I love love love corollary insights like this with complex topics, it helps build a mental framework so much faster. Great write up!
5
u/Leithm Oct 23 '23 edited Oct 23 '23
Lol, they first f*cked it with Segwit, then with LN.
They literally had to do nothing except increase the bocksize.
6
7
u/EmergentCoding Oct 23 '23
What else can BTC/LN do but step back and watch as real Bitcoin BCH completes the mission of becoming sound money for the world.
2
u/LovelyDayHere Oct 23 '23
They could get busy porting their Lightning Network to Bitcoin Cash so that it works better in future.
Of course, the use cases will still need to be found (apart from single channel transactions).
1
Oct 25 '23
BTC could just increase the block size themselves. Then BCH would be utterly useless.
3
u/EmergentCoding Oct 26 '23
BTC would need to execute a hardfork upgrade which risks both losing control of the codebase, and/or forking a new coin.
Even if consensus can be reached and even if BTC's blocksize is increased, BTC still has RBF and segwit ruining its utility.
I'm sorry but BTC has ruined its chances of ever returning to being electronic cash.
2
2
2
1
23
u/minitoxin Oct 22 '23
Security researcher and developer Antoine Riard is stepping down from the Lightning Network’s development team, citing security issues and fundamental challenges to the Bitcoin ecosystem.
According to a thread on the Linux Foundation’s public mailing list, Riard believes the Bitcoin community faces a “hard dilemma” as a new class of replacement cycling attacks puts Lightning in a “perilous position.“
The Lightning Network is the second-layer solution built over the Bitcoin blockchain. It is designed to improve the scalability and efficiency of Bitcoin
Through the Lightning Network, users can open payment channels, conduct multiple transactions off-chain and settle the final result on the Bitcoin blockchain. The replacement cycling attack targets these payment channels. It is a new type of attack that allows the attacker to steal funds from a channel participant by exploiting inconsistencies between individual mempools.