logoalt Hacker News

HWR_14yesterday at 9:10 PM1 replyview on HN

There are multiple competing lightning networks? I don't get how the lighting networks prevent double spending then.

It seems like a major issue when dealing with multimillion dollar transactions.


Replies

derangedHorsetoday at 12:19 AM

Lightning is a protocol and there can theoretically be many disjoint networks. The biggest network is usually what's considered to be 'the' lightning network. Double spending, which would require 'settling' a superseded lightning transaction, is prevented by a penalty mechanism that makes it so the malicious party loses all the funds in their 'channel' when caught (which will be, at smallest, the amount the original payment was made for).

show 1 reply