1/ Lightning is great, but can't say it is battle-tested. If script kids would be interested, they could take down those shiny new 5 BTC #wumbo channels with negligible cost and no effort at all. Image
2/ The underlying issue is that a channel cannot hold more than 483 htlcs at a time, regardless of the channel capacity. Sending 483 micro-payments to yourself and holding on to the htlcs is enough to incapacitate a channel for up to two weeks.
3/ By utilizing the max route length to add loops, each payment can consume up to 9 htlc slots on the target channel. If the script kid is lucky, they only need to send 54 payments to get it done. A single tiny channel takes double-digit amounts of #bitcoin out of business.
4/ Here you see me locking up ~5800000 sat with a refundable 18 sat payment looping five times through three mainnet channels owned by @bitfinex and @OpenNodeCo. For basically as long as I want. This happened today. Image
5/ Wanting to become the world's payment system sounds good, but then we can't have trivially exploitable vulnerabilities like this. Walk the talk.
6/ Therefore I started a new project called Circuit Breaker: a firewall for Lightning nodes. The primary goal is to encourage thinking about this problem, with the potential to grow into a full-fledged Lightning protection system.
github.com/lightningequip… Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Joost Jager

Joost Jager Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @joostjgr

3 Mar
1/ Introducing tlvshop.com, a glance into the future of online shopping by @gugol, @dickerson_des and me. Lightning is far more than just another payment method. ⚡️
2/ This is not an ordinary webshop. 🛒 There is no browser, no shopping cart, no checkout page and no credit card required. 💳 It is a 100% pure Lightning shop, possibly one of the first of its kind.
3/ Pure Lightning means that the only communication between buyer and us is a Lightning payment. Since the introduction of custom tlv records, it is possible to attach arbitrary data to a payment. You can use this new functionality to attach a delivery address to the payment. 📦
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!