Onyeeze (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 24, 2023, 07:23:13 PM |
|
I'm worried to know the difference between Lighting Network and Bitcoin, when I saw the Lighting Network issues, I Don't know were to start to differentiate them. Is Bitcoin a Lighting Network, or Lighting network give rise to Bitcoin transactions or these are two different technology, because this information of bitcoin and Lighting Network is understandable to people know the difference. Please I want to know the difference
|
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1638
Merit: 5074
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 24, 2023, 08:26:06 PM |
|
If you have bitcoin, you can make onchain transactions. Sometimes, the mempool can be congested and you will need high fee for making onchain transactions. With lightning network, you can open a channel with another person, consisting of a multisig means of sending bitcoin offchain. You will fund your lighting network wallet which would be through an onchain transaction to open a channel. Once the transaction is confirmed, you and the other person can be able to make transaction using lightning network as the other person open the channel with you with. It is fast and of low fee. You can close the channel and move your coin back to your onchain wallet at anytime. You can read this for it as a beginner: A Beginner's guideline to Bitcoin Lightning NetworkElectrum Lightning Network walkthrough
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
Stalker22
Legendary
Offline
Activity: 1596
Merit: 1380
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 24, 2023, 08:26:34 PM |
|
Lightning Network and Bitcoin are two different technologies that serve different purposes.
As I understand it, the Lightning Network is a layer 2 protocol that operates on top of the Bitcoin blockchain. It is designed to address some of the scalability issues that Bitcoin faces by allowing for off-chain transactions. While Bitcoin transactions are publicly recorded on the blockchain, the Lightning Network transactions are not.
|
|
|
|
ABCbits
Legendary
Offline
Activity: 2968
Merit: 7780
Crypto Swap Exchange
|
Is Bitcoin a Lighting Network
No. or Lighting network give rise to Bitcoin transactions
Also no. Although since LN usually is used on top of Bitcoin network, few people might say Bitcoin give rise to LN. or these are two different technology
Correct. LN isn't part of Bitcoin protocol/network and LN also works on different cryptocurrency (such as LTC and DOGE). If you don't mind long reading, Mastering LN Book show details comparison between LN and Bitcoin which can be read for free at https://github.com/lnbook/lnbook/blob/develop/03_how_ln_works.asciidoc#comparison-with-bitcoin.
|
|
|
|
darkv0rt3x
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 27, 2023, 10:13:34 PM |
|
I'm worried to know the difference between Lighting Network and Bitcoin, when I saw the Lighting Network issues, I Don't know were to start to differentiate them. Is Bitcoin a Lighting Network, or Lighting network give rise to Bitcoin transactions or these are two different technology, because this information of bitcoin and Lighting Network is understandable to people know the difference. Please I want to know the difference
I think you're still at that point that you need to read for yourself about it. We cannot spoon-feed you all the info because it's not even humanly possible by simple dropping 14 years of information just like that. What I think people can give you is directives, something like this: 1 - Learn what is Bitcoin This will bring you knowledge about: - Bitcoin nodes - blockchain technology - wallets - public keys and private keys - addresses - transactions (onchain) - and much more. These are only a few very common terminologies you need to learn about. 2 - Learn about Lightning Network (different protocol / technology but operating on top of the Bitcoin network) This will bring you knowledge about: - LN nodes - channels - wallets / apps / services - transactions (offchain) - channel balances and much more. We have a dedicated LN thread here where there is a lot of information avialble. Check it here.
|
Bitcoin is energy. Bitcoin is freedom I rather die on my feet than living on my knees!
|
|
|
SamReomo
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 28, 2023, 07:06:34 AM |
|
I'm worried to know the difference between Lighting Network and Bitcoin, when I saw the Lighting Network issues, I Don't know were to start to differentiate them. Is Bitcoin a Lighting Network, or Lighting network give rise to Bitcoin transactions or these are two different technology, because this information of bitcoin and Lighting Network is understandable to people know the difference. Please I want to know the difference
Bitcoin and Lightning Network aren't the same thing. Bitcoin is the first and no-1 cryptocurrency of the world and it works on its own network named Bitcoin network. The lightning Network on the other hand is a layer 2 scaling solution that mainly works on top of Bitcoin to increase the transaction speeds, and reduce the transaction fees. The transactions based on Lightning network aren't always recorded instantly on Bitcoin blockchain and have faster speeds than regular transactions. The Lightning network is the recommended choice for small transactions as the fees are low for those transactions. Lightning network basically creates payment channels between two individuals, and that channel can be updated without being recorded on Bitcoin blockchain. Once the both parties agree with the transactions then they can close the channel and after closing the channel the transaction will be recorded on Bitcoin blockchain.
|
| | | | | | | ███▄▀██▄▄ ░░▄████▄▀████ ▄▄▄ ░░████▄▄▄▄░░█▀▀ ███ ██████▄▄▀█▌ ░▄░░███▀████ ░▐█░░███░██▄▄ ░░▄▀░████▄▄▄▀█ ░█░▄███▀████ ▐█ ▀▄▄███▀▄██▄ ░░▄██▌░░██▀ ░▐█▀████ ▀██ ░░█▌██████ ▀▀██▄ ░░▀███ | | ▄▄██▀▄███ ▄▄▄████▀▄████▄░░ ▀▀█░░▄▄▄▄████░░ ▐█▀▄▄█████████ ████▀███░░▄░ ▄▄██░███░░█▌░ █▀▄▄▄████░▀▄░░ █▌████▀███▄░█░ ▄██▄▀███▄▄▀ ▀██░░▐██▄░░ ██▀████▀█▌░ ▄██▀▀██████▐█░░ ███▀░░ | | | | |
|
|
|
|
Zoomic
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 532
Merit: 259
My post made philipma1957 wear signature
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 28, 2023, 04:22:22 PM |
|
As I understand it, the Lightning Network is a layer 2 protocol that operates on top of the Bitcoin blockchain.
I haven't used Lightening Network yet, but I have read about it. Saying that Lightening network operates on top of the bitcoin blockchain. Well, I know it operates differently but is it on top or below or parallel. My emphasis is on thr word "on top".
|
|
|
|
Weezenhofnar
Copper Member
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 511
Merit: 63
3JGWcqUePDp5LqRNkTHuxcq8AX9iqu1HFz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 30, 2023, 08:30:33 AM |
|
I'm worried to know the difference between Lighting Network and Bitcoin, when I saw the Lighting Network issues, I Don't know were to start to differentiate them. Is Bitcoin a Lighting Network, or Lighting network give rise to Bitcoin transactions or these are two different technology, because this information of bitcoin and Lighting Network is understandable to people know the difference. Please I want to know the difference
Simple. Bitcoin is a decentralized digital currency, while Lightning Network is a layer-2 scaling solution that enables faster and cheaper Bitcoin transactions.
|
|
|
|
WatChe
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 30, 2023, 12:32:06 PM |
|
It is designed to address some of the scalability issues that Bitcoin faces by allowing for off-chain transactions. Yes that's why LN is created for. Bitcoin can handle 7 TPS only. While Bitcoin transactions are publicly recorded on the blockchain, the Lightning Network transactions are not.
I would differ here. LN transactions may not be instantly written on bitcoin blockchain but after the channel is closed the transactions goes to on-chain (correct me if I am wrong). LN has some WOW features to offer but somehow it failed to took off. People despite all odds still prefer to use bitcoin on-chain instead of LN.
|
|
|
|
Stalker22
Legendary
Offline
Activity: 1596
Merit: 1380
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 30, 2023, 04:46:27 PM |
|
While Bitcoin transactions are publicly recorded on the blockchain, the Lightning Network transactions are not.
I would differ here. LN transactions may not be instantly written on bitcoin blockchain but after the channel is closed the transactions goes to on-chain (correct me if I am wrong). LN has some WOW features to offer but somehow it failed to took off. People despite all odds still prefer to use bitcoin on-chain instead of LN. As already mentioned by ETFbitcoin, the Lightning Network is not part of the Bitcoin protocol or network. From my understanding, only the initiation and termination of LN channels are registered on the blockchain. This means micropayments within LN channels cannot be traced on the blockchain.
|
|
|
|
Little Mouse
Legendary
Offline
Activity: 2142
Merit: 2056
Marketing Campaign Manager |Telegram ID- @LT_Mouse
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 30, 2023, 06:17:33 PM |
|
I would differ here. LN transactions may not be instantly written on bitcoin blockchain but after the channel is closed the transactions goes to on-chain (correct me if I am wrong).
Lightning Network is an off-chain which means none of the transactions happening inside Lightning Network, isn't recorded on the Bitcoin blockchain. You can consider it with a custodial wallet transaction as well. When we use Binance for receiving Bitcoin from another party, we can use a Bitcoin address from Binance. After receiving Bitcoin, if we want to send Bitcoin to another Binance user, we don't need on-chain txs. The same thing happened in LN too. When you open and fund a channel in LN, one transaction is recorded in Bitcoin Blockchain. After that, through LN, you may have thousands of txs but none of them are going to be recorded on the Bitcoin Blockchain ever, because the transactions aren't happening in Bitcoin Blockchain, they are happening in LN, another chain you can say. When you decide to close the channel, you will receive the fund you have in LN after all the transactions are settled and one transaction will be recorded in Bitcoin Blockchain. So, even if you are having a lot of txs in LN, only 2 transactions will be recorded in the blockchain. When you fund the channel and when you close the channel. LN has some WOW features to offer but somehow it failed to took off. People despite all odds still prefer to use bitcoin on-chain instead of LN.
It's because LN transactions aren't yet comfortable for a lot of people. Though it's easier than a lot of people think, it's still not the same functional as Send and Receive. More development on LN-based wallet is needed I think which will make it easier to use without having a lot of knowledge on how LN works.
|
| .SHUFFLE.COM.. | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | . ...Next Generation Crypto Casino... |
|
|
|
BlackHatCoiner
Legendary
Offline
Activity: 1610
Merit: 7904
Bitcoin is a royal fork
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 30, 2023, 06:53:22 PM |
|
Simply put, Bitcoin is a network that works by incentivizing people to secure it using objective means; namely, Proof-of-Work. The result is a digital system that grants electronic transactions that cannot be counterfeited.
Such system is very attractive to build onto. It's clearly resilient to human failure, as far as anyone can tell. It takes advantage of the human psychology, without including the flaws of human nature. Every person who owns part of it is encouraged to secure it, but no person who's against can do much.
Lightning is one network built on top. It tries to help on Bitcoin's scalability (as network), and it inspires for further creative and innovative ideas.
|
| | TheChange | | | | |
░░░░░░░░░░██▄ ▄▄▄▄▄▄▄▄▄▄▄███▄ ▀▀▀▀▀▀▀▀▀▀▀███▀ ░░░░░░░░░░██▀ ░░░▄▄ ▄██▀ ███████████████ ▀██▄ ░░░▀▀ | | | | +250 COINS | | ..Crypto Exchange.. | │ | ▄▄▄▄ ▄▄▄███▀▀███▄▄▄ ▄█████▀▀░▄▄▄▄░▀▀█████▄ ██▀░▄▄▄████████▄▄▄░▀██ ██░████████████████░██ ██░████████████████░██ ██░▀██████████████▀░██ ██░▀████████████▀░██ ▀██░▀██████████▀░██▀ ▀██▄░▀██████▀░▄██▀ ▀██▄▄░▀▀░▄▄██▀ ▀▀██▄▄██▀▀ ▀▀▀▀ | | | │ | |
|
|
|
Zoomic
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 532
Merit: 259
My post made philipma1957 wear signature
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 01, 2023, 12:02:35 PM |
|
I have read through the answers given so far, they are correct and true but some of the answers are not foundational and not basic. When you explain things to beginners, you try and use the beginners language even if you are an expert. O_e_l_e_o is good at this and he has been helping me in the simplest method and language ever. I'm worried to know the difference between Lighting Network and Bitcoin
If you examine this question, you will understand that this question on its own is faulty, and trying to answer a faulty question will make the answers look non cogent even if they are. First the OP, will have to understand that the correct question should be What is the difference between the Lightening Network and the Bitcoin Network. And not the difference between LN and Bitcoin. Bitcoin is a coin and LN is not. The comparison should be between the LN channel and the blockchain (or Bitcoin network). So, OP the LN as others have said is a second layer of bitcoin network, which is introduced to fasten transaction and decongest the bitcoin network. You and your friend can open a Lightening Network channel, and the opening will be registered on the blockchain, every other transactions you do are off the blockchain until when you close the LN, and the summary transaction would be broadcasted in the bitcoin network. By this, you do not have to pay for the transaction fees which happened between you and your friend throughout the channel existed.
|
|
|
|
Little Mouse
Legendary
Offline
Activity: 2142
Merit: 2056
Marketing Campaign Manager |Telegram ID- @LT_Mouse
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 01, 2023, 07:54:18 PM |
|
the summary transaction would be broadcasted in the bitcoin network.
What did you mean by summary transaction? If you are referring to closing a channel, that's fine. As I and others have told earlier, when we close a channel, there will be an on-chain transaction. But all the other transactions happening between opening and closing a channel won't have any record in the Bitcoin blockchain. Imagine, you have opened a channel with 1 mBTC and spent 0.5 mBTC, you also received 0.2 mBTC. At this point, you want to close the channel. Your settled amount will be 1-0.5+0.2 = 0.7 mBTC. You will get this 0.7 mBTC on your Bitcoin wallet when a channel is closed and only this transaction will have a record on the Bitcoin blockchain.
|
| .SHUFFLE.COM.. | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ ███████████████████████ | . ...Next Generation Crypto Casino... |
|
|
|
suzanne5223
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 01, 2023, 08:27:02 PM |
|
There's no need to worry about the difference between the Bitcoin blockchain and the Lightning network. The lightning network is just a second layer introduced as an alternative to complement the BTC blockchain and to provide seamless transaction confirmation for BTC whenever there's network congestion or a hike in the price of BTC transactions. Some BTC users take advantage of it whenever they want to spend less on the tx fees and needed fast tx confirmation.
|
🎁 | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . 375% | 200 . ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . | 🛞 | ☆ | | ☆ | 🛞 | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . | ▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . | ▀▀▀▀▀▀▀▀▀▀▀▀ .U P T O . ▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ .300€ + 50 . ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ .F R E E S P I N S . ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 🎁 | |
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18696
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 02, 2023, 05:48:49 AM Last edit: June 18, 2023, 06:38:24 PM by o_e_l_e_o |
|
O_e_l_e_o is good at this and he has been helping me in the simplest method and language ever. Since I've been tagged, I'll share an analogy I like for explaining the basis behind Lightning in really simple terms below. Let's say you and I both run our own businesses. Sometimes I buy stuff from you, and sometimes you buy stuff from me. We get fed up of sending money back and forth between our bank accounts (i.e. standard bitcoin transactions), as it is time consuming and the bank charges us a fee every time. So, next time I come to see you to drop off some goods, we get out a jar and both put $100 in it. (Think of this as opening a Lightning channel.) I drop off the goods, and we agree you owe me $20, so we both record that when we open the jar, I get $120 and you get $80. The next day, I need to buy some stuff from you which costs $50, so now we agree that when we open the jar, the split will be $70 to me and $130 to you. This can go on and on for weeks, months, even years, with us both agreeing a new way to split the money, but without actually opening the jar. Changing the balance like this is instant and free. The banks (i.e. the bitcoin network) have no idea this is happening - all they know is that we both took out $100 to put in the jar in the first place. They don't know how we are agreeing to split that money, or how that split is changing. Next week, I need to buy $20 of stuff from another business down the road. I don't have a jar with them, but you do. So we deduct $20 from my balance in the jar between me and you, and then you give $20 to this other business in the jar that you have with them. You essentially route my $20 to this other business without me having to set up a jar with them, all instantly and for free. At some point we decide to open our jar (i.e. we close our Lightning channel). At that point we both take out whatever amount of money our final agreement was and deposit it back to our bank account. Only then do we need to make a transaction with a bank (a transaction on the bitcoin network), and only then does the bank/bitcoin network become aware of the final split of funds.
|
|
|
|
Zoomic
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 532
Merit: 259
My post made philipma1957 wear signature
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 02, 2023, 04:48:40 PM |
|
the summary transaction would be broadcasted in the bitcoin network.
What did you mean by summary transaction? If you are referring to closing a channel, that's fine. As I and others have told earlier, when we close a channel, there will be an on-chain transaction. Summary is a wrongly used word. The closing channel I meant. O_e_l_e_o is good at this and he has been helping me in the simplest method and language ever. Since I've been tagged, I'll share an analogy I like for explaining the basis behind Lightning in really simple terms below. That's a great read and a simple way to explain difficult ideas...
|
|
|
|
WatChe
|
At some point we decide to open our jar (i.e. we close our Lightning channel). At that point we both take out whatever amount of money our final agreement was and deposit it back to our bank account. Only then do we need to make a transaction with a bank (a transaction on the bitcoin network), and only then does the bank/bitcoin network become aware of the final split of funds.
Excellent explanation of LN. I think there is no better way to understand LN then reading this short but informative explanation. There is question I wanna ask. Since the opening and closing of channels are the only thing going over bitcoin blockchain. Who is responsible for the integrity of intermediate transactions that are going on once channel is open and before its closed? LN do it on its own or in consultation with bitcoin blockchain since the final transactions will be going to Bitcoin blockchain once channel is closed.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18696
|
Who is responsible for the integrity of intermediate transactions that are going on once channel is open and before its closed? It is done solely between the Lightning nodes, and nothing touches the main chain until the channel is closed. To get a little bit more complicated (the jar analogy doesn't really hold up beyond this point): Let's say you and I open a channel with 1 BTC each, for a total of 2 BTC. We both (or rather, our software does this automatically) sign a transaction which sends 1 BTC to you and 1 BTC to me. This would be our closing transaction, if we broadcast it. But we don't, we just save it locally, so no one knows about it except us. Then I pay you 0.2 BTC, so now we both sign a transaction which sends 1.2 BTC to you and 0.8 BTC to me. Again, we save this locally but do not broadcast it. Every time we make a new payment between us, we both sign a new transaction to reflect the new distribution of coins. When we want to close the channel, we simply broadcast the most recent transaction we have saved. And so it is each participant in a channel who is responsible for the intermediate transactions, while the wider network only ever knows about the opening and the closing transactions. There are additional complex systems built on top of that in order to encourage honesty and punish any attempted theft. For example, if the latest transaction we had signed was 1.6 BTC to me and 0.4 BTC to you, but you tried to broadcast an old transaction which splits the funds 1 BTC each, there is a mechanism to allow me to dispute that and claim all the funds for myself, meaning you lose everything as punishment for the attempted theft.
|
|
|
|
|