top | item 16216894

(no title)

underwires | 8 years ago

But (correct me if I'm wrong) payment channels are connected to particular sets of recipients, but not necessarily any and all recipients. Your money is locked into that channel until you close it. You might need to open a different channel to reach your actual recipient.

discuss

order

Klathmon|8 years ago

No, you are missing the "network" part of "Lightning Network" it uses an onion-routing-like protocol to allow you to pay "through" other people.

So if I have a channel with you, and you have one with coinbase, I can buy bitcoin from coinbase through you without ever opening another channel, entirely counterparty-risk-free.

And in that scenario if you "refuse" to relay my transaction, or you try to do something sneeky like broadcast an old transaction that we made where I had .1 BTC and you had .9 BTC, that's breaking the agreement we have made and I can broadcast a counter-transaction to the blockchain proper which gives me all of the money in the channel (1 BTC).

And if I try to backstab you by broadcasting the "give me all the money" transaction when you haven't done anything wrong, you have a "counter-counter-transaction" you can broadcast that forces all the money in the channel to you (1 BTC). (and the counter-counter-transaction only works if you HAVE NOT broadcast the original transaction)

There is a bit more complexity to it, but that's the gist.

asciimo|8 years ago

Easy peasy! Seriously, I've been skeptical of LN's success for its complexity. But reading your and others' comments here I can see that many people understand it clearly. It turns out I've been biased by my own ignorance. The more I learn about LN, the more hopeful I'm becoming. Thanks for helping.

sowbug|8 years ago

If you're in the US, you might have heard of Starker exchanges (a.k.a. 1031 or like-kind). It's a method to defer realization of capital gains, usually on real estate. There are outfits that will help you form a multi-party exchange to match impedances between people who want to buy/sell properties, but some want to trade and some want to exchange for money.

Similar with organ donations. I might not match my wife's blood type, but I can donate a kidney to some other random person if there's a network that matches someone with my wife' blood type to her.

These are all the same idea.

ActsJuvenile|8 years ago

Counter-counter-transactions sound like textbook example of overengineering.

Bitcoin's only advantage at this point is its price, which will go away as soon as there is a crash. Then we can scrap Bitcoin, LN, and all the baggage and start with a clean 3rd generation crypto slate.

PKop|8 years ago

This is why the Lightning network is something more than just payment channels. If you have 2 or more channels open on the network, you are a node that can have payments routed through.

Same with trying to pay someone on the network whom you do not have an open channel with: the LN's purpose is to facilitate a network of channels.

Certainly hubs will form, but there should be many of them, and if there's a path to your recipient, you don't need a dedicated channel with them.

exit|8 years ago

payments can be routed to other recipients if there is a path to them in the network.