Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: kobecoin on October 20, 2017, 08:57:28 AM



Title: Question regarding Lighting Network
Post by: kobecoin on October 20, 2017, 08:57:28 AM
Hi,

I'm learning how bitcoin works and there is something I'm not sure I understand about Lighting network.

I've read it will solve the transaction volume (and fees) problem and that Bitcoin could be then used for daily transactions.
At the same time, it looks like Lighting network only makes sense if transactions are bidirectionnal. For instance I don't see why it's useful to pay the grocery store or my rent to my landlord, since they won't send me money on their side.

Am I missing something?


Title: Re: Question regarding Lighting Network
Post by: achow101 on October 20, 2017, 07:36:32 PM
I've read it will solve the transaction volume (and fees) problem and that Bitcoin could be then used for daily transactions.
At the same time, it looks like Lighting network only makes sense if transactions are bidirectionnal. For instance I don't see why it's useful to pay the grocery store or my rent to my landlord, since they won't send me money on their side.

Am I missing something?
Yes, you are.

The lightning network is useful for paying the grocery store or your landlord because you do so on a repeated basis. Instead of making 1 on-chain transaction for every single payment to the grocery store or to your landlord, you can use LN to essentially batch your payments so you are paying them but only need to make 2 on-chain transactions over a course of a year, for example (instead of 12 monthly rent transactions).

Furthermore, your landlord or your grocery store is likely to be a hub with many open payment channels with other people. So if you wanted to pay someone or receive money from someone, instead of making an on-chain transaction to pay that person or making a payment channel with them, you can route a payment through your landlord or your grocery store to that person. For example, say your neighbor wants to pay you some Bitcoin. He can either make an on-chain transaction sending you money, or he can use his currently open LN payment channel with the landlord and route the payment through the landlord. This essentially means that he gives the landlord money over his payment channel with the landlord and then the landlord sends you the same amount through your payment channel with the landlord.


Title: Re: Question regarding Lighting Network
Post by: Crypto_Addict on January 04, 2018, 06:54:32 PM
I've read it will solve the transaction volume (and fees) problem and that Bitcoin could be then used for daily transactions.
At the same time, it looks like Lighting network only makes sense if transactions are bidirectionnal. For instance I don't see why it's useful to pay the grocery store or my rent to my landlord, since they won't send me money on their side.

Am I missing something?
Yes, you are.

The lightning network is useful for paying the grocery store or your landlord because you do so on a repeated basis. Instead of making 1 on-chain transaction for every single payment to the grocery store or to your landlord, you can use LN to essentially batch your payments so you are paying them but only need to make 2 on-chain transactions over a course of a year, for example (instead of 12 monthly rent transactions).

Furthermore, your landlord or your grocery store is likely to be a hub with many open payment channels with other people. So if you wanted to pay someone or receive money from someone, instead of making an on-chain transaction to pay that person or making a payment channel with them, you can route a payment through your landlord or your grocery store to that person. For example, say your neighbor wants to pay you some Bitcoin. He can either make an on-chain transaction sending you money, or he can use his currently open LN payment channel with the landlord and route the payment through the landlord. This essentially means that he gives the landlord money over his payment channel with the landlord and then the landlord sends you the same amount through your payment channel with the landlord.


the real question: when will it be implemented?  :P


Title: Re: Question regarding Lighting Network
Post by: achow101 on January 05, 2018, 01:47:30 AM
the real question: when will it be implemented?  :P
It is already implemented and almost done. It is actively being used on the testnet and multiple demonstrations of lightning on the Bitcoin mainnet have already been done. Once any of the major implementations of LN reach a release version and the Lightning 1.0 spec is finalized, you can consider lightning "released".