TheRustyTwit Profile picture
Apr 10, 2019 3 tweets 2 min read Read on X
To collect #boltathon payments, needed more incoming capacity. @bitrefill worked from #eclair but instructions were lnd. Trivially transformed for #clightning, but really need to write a lnurl plugin.
Every time I try to use #LightningNetwork for something real, I see how much more there is to do...
FWIW, here was what I did to redeem channel: lightning-cli connect 030c3f19d742ca294a55c00376b3b355c3c90d61c6b6b39554dbc7ac19b141c14f && lightning-cli -H getinfo | sed -n 's/^id=//p' | tr -d '\n' | curl -G --data-urlencode remoteid@- "api.bitrefill.com/v1/thor?k1=b35…"

• • •

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

Keep Current with TheRustyTwit

TheRustyTwit 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 @rusty_twit

Nov 11, 2022
👩‍🔧Great paper by @ClaraShik and @serg_tikhomirov on lightning jamming mitigations at eprint.iacr.org/2022/1454.pdf
🚨I expect all #lightning payments in future to have some tiny anti-spam fee attached (even if they fail): the paper suggests 2% of success fees (~0.001% of amount RN).
That's looking at my node's mean fee for my LN payments of 0.05% (shockingly low, TBH, so I expect that to increase).

I told people to anticipate this at Lightning Conf in 2018, but that was an age ago, so let's revisit: why add a pre-pay fee?
Well, probing is currently free: you only pay if payment succeeds, so you can just deliberately fail them all. This is great incentive for nodes to actually work, but is free probes makes it easy to violate privacy as well as jam the network up for others.
Read 8 tweets
Sep 17, 2022
If #Bitcoin confuses you, it's important to remember that we're trying to change *accepted social norms*. That's weird, slow and confusing.

In my Linux days we were dealing with "that's not how you construct software", Bitcoin is "that's not how you construct money". 1/7
For Linux I had read and sympathized with RMS's GNU Free Software vision at University, but it took Linux to actually show me it actually *worked better*. But I was the "weird Linux guy" for a long time, then inside a "weird Linux bubble". 2/7
What happened in the 25 years between "Free Software exists if you can't afford real software" and "all important software is Open Source"? Between the social norm of Digicash as a proprietary patented solution and Bitcoin as anonymous FOSS? 3/7
Read 7 tweets
Feb 24, 2022
So @alexbosworth doesn't understand the Lightning Spec process. I thought Lightning Labs had been so quiet in the last two years because (1) @roasbeef is the only one there who's allowed to do spec stuff (2) profitability lead them to pivot to proprietary centralized offerings.
Turns out they've decided they can leverage network dominance into protocol control, and the spec process isn't "real".

Mea culpa: I have spent far too much time on the spec process, and not enough on implementation polishing and marketing. That changes today.
Lightning Labs has claimed ownership of the Lightning network in many ways: I've been reluctant to call them out in public. But the lightning network and community deserves better.

They didn't implement it first, they didn't implement it best. Their community is great though!
Read 4 tweets
Sep 23, 2020
There are three types of spam problem in #Bitcoin #LightningNetwork; let's call them "local", "slow" and "fast". local spam is someone sending or requesting too much data: that's a Simple Matter of Code, with ratelimiting etc. Let's talk about the other two:
"fast" spam is sending many failed payments. You can't tell what will succeed, and you can't blame the sending peer (they may not be the source). This attack is free since we only pay on success. The answer is to require an up-front payment, but
it has to be small (making sure your incentive is to succeed), and it should not leak information on where you are in the path. I've been unable to find a scheme I'm happy with though, see latest attempt at lists.linuxfoundation.org/pipermail/ligh….
Read 6 tweets
Sep 12, 2020
I used #clightning's new multifundchannel with every one of the 1837 nodes on testnet. Most are dead, many timed out, some already had channels, and two didn't respond to open_channel, but 106 made it! Here's the open tx:
blockstream.info/testnet/tx/cde…
Thanks to @niftynei for the freshly mined testnet coins, @ZmnSCPxj for the new multifundchannel plugin. We've been able to do this in theory for over a year, but now it's trivial! Though I had to use python: bash told me "Argument list too long".
I had to manually kill the two non-responsive open_channels, since we don't time out. Issue opened for next release (too minor for rc2 imho): github.com/ElementsProjec…
Read 4 tweets
Jul 4, 2020
lnprototest is vital for lightning development. It's a simple place to rapidly implement new features for testing: very hackable! It also lets us test things that real implementations don't do. It's an easy on-ramp for interoperability testing.

github.com/rustyrussell/l…
For example, I accidentally broke #clightning accepting unknown odd packets. Nothing broke! But this is vital for future upgrades, where we want to rely on this "you will ignore this, not barf" behaviour. lnprototest's predecessor found this.
Testing all the paths of opening a channel lead me to find the CVE-2019-12998. And now we're working on dual-funding channels, it's vital we thoroughly test opening negotiation.
Read 4 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

Don't want to be a Premium member but still want to support us?

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

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(