Bitcoin Forum
March 28, 2024, 02:29:50 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: A Beginner's guideline to Bitcoin Lightning Network  (Read 1326 times)
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 19, 2019, 05:19:23 PM
Last edit: November 20, 2019, 02:00:30 PM by RapTarX
Merited by Welsh (12), TMAN (10), ABCbits (9), dbshck (8), vapourminer (7), BitcoinGirl.Club (7), pooya87 (5), Rath_ (5), Quickseller (4), hugeblack (4), JayJuanGee (3), LoyceV (2), AB de Royse777 (2), DdmrDdmr (2), joniboini (2), 1miau (2), Little Mouse (2), Heisenberg_Hunter (2), LeGaulois (1), mk4 (1), hosseinimr93 (1), Chikito (1), tranthidung (1), Husna QA (1), Upgrade00 (1), bones261 (1), Loganota (1), Rikafip (1), Charles-Tim (1), Don Pedro Dinero (1), Krislaw (1), HBKMusiK (1)
 #1

Introduction
Lightning Network or shortly LN is an emerging feature which can drastically change the picture of bitcoin adoption solving the problem of the higher fee for micro payments and slower confirmation issue. Although still it's not implemented in most of the wallets, we can expect it to be soon.

Table of Contents
1. What is Lightning Network?
2. How LN works?
  (i) Channel
  (ii) Route
3. A Real Life Explanation
4. Advantages of LN
5. Will it increase massive adoption?

1. What is Lightning Network?
Lightning Network is a feature which will allow you to transact bitcoin outside the Bitcoin Main Chain. It's a protocol on bitcoin blockchain. You will be able to send, receive bitcoin with lower fees, any amount(see the first reply from BitCryptex), faster than ever. It will basically help you to send & receive micro-payments.
Imagine, you have visited Alice's Coffee Shop, had a coffee for $2. Paying $2 with bitcoin is still possible but for $2, you may have to pay more fees sometimes, moreover, Alice will not agree to have confirmation of the transaction after 3/4 hours of your leaving the shop.

Two problems we see when you want to pay $2 for a coffee.
- You will not be happy to pay $1 fee for spending $2 worth of BTC.
- Alice will not accept BTC because it requires much time to get confirmed.

But, now with Lightning Network, you don't have to pay a huge fee for spending $2 worth of BTC, nor Alice will have to think about the slower transaction.

2. How LN works?
In Lightning Network, you have to create a channel with the other party. In the channel, you will be able to transact bitcoin frequently with low fee, faster and any amount.
Creating a channel means having an agreement with the other party. In other word, you and the other party will have a multisig wallet where you both will be able to transact bitcoin frequently. For your info, when you are entering into a channel, you have to pay a fee. It's same sending a transaction. After entering into the channel, whatever you transact, these log will not be updated into the blockchain. You you close the channel or leave from a channel, another transaction will be logged into the blockchain. In between entering a channel & closing a channel, all the transaction will be happened outside the bitcoin main chain and it's called settlement. Only your balance will be updated time to time but no main chain transaction will happen.

Two LN terms you must know-
(i) Channel- Channel are the place where all the Lightning Network transaction of you and your other party will be taken place and logged in. It allows you to send & receive transaction in the Lighting Network.
(ii) Route- This can be called as a bridge between you and Alice Coffee shop. Assume, you are visiting 10 shops daily and want to pay with Bitcoin Lightning Network. Creating 10 channels with 10 shops for paying them is a big hassle and costly, and imagine, how much channel shops have to create since they are handling a thousands of customers. With Route, you may create only one channel and have able to pay in all the shops.

3. A Real Life Explanation

Imagine, you visit 3 shops per week on average for purchasing your daily life stuffs; A, B, C

The shopkeeper accept Lightning Network payment. But, as like I mentioned above in Route, they certainly will not create thousands of channel. It will create more hassle for them. They will want to create channel with a Lightning Network Node where most of their customers have already created channels. This way, the Lightning Node will act as a bridge between the shopkeeper and the customer. The below picture may help you understand the process-


Bob= You
Route= Node with whom both you & the shop will create channel.

You or the other customers will create a channel with the Node, Shops will also create channel with the Node, that's how Node is creating bridge between customers and the shops.

Assume, you have created a channel and funded your address with 0.01 BTC. The initial funding will require transaction fee.
Now, you have purchased coffee 10 times from Alice's restaurant, you will be able to pay from 0.01 BTC, this will not require any transaction fee but your Lightning Node (I mean The Route/The Bridge) will charge a very low fee. Assume, each coffee is priced BTC 0.0003, you are paying 0.003 BTC.
Your balance is 0.007 (Will be low since you are paying a little fee). Now, you decided to close the channel for some reason. A transaction fee will be required.

Therefore, you are paying 2 transaction fee while you have transacted 12 times including the purchasing of coffee 10 times.

4. Advantages of LN
a. Easy Micro payments
b. Faster transaction, no confirmation needed.
c. Lower fees.

5. Will it increase massive adoption?
Till now, without Lightning Network, paying with bitcoin is very expensive sometimes when we compare paying $1/$2 for something. Also, with lower fee a transaction may stuck on the chain for a long time and get rejected after some times. Since Lightning Network is assuring instant transaction, very low fee transaction and easy micropayments, we can expect merchant will accept it more often than previous. More people will now feel comfortable paying with bitcoin for a lower amount. This is not guaranteed but a expectation since LN is reducing the resistance of bitcoin as a micro payment method.

Some more resources-
Website- https://lightning.network/
Whitepaper- https://lightning.network/lightning-network-paper.pdf
A topic by BitCryptex- https://bitcointalk.org/index.php?topic=5158920.0

Miscellaneous
1. I never used Lightning Network.
2. I am not a pro.
3. This guideline will act as very basic level of explanation for the beginners.

1711636190
Hero Member
*
Offline Offline

Posts: 1711636190

View Profile Personal Message (Offline)

Ignore
1711636190
Reply with quote  #2

1711636190
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711636190
Hero Member
*
Offline Offline

Posts: 1711636190

View Profile Personal Message (Offline)

Ignore
1711636190
Reply with quote  #2

1711636190
Report to moderator
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
November 19, 2019, 06:14:06 PM
Merited by dbshck (4), ABCbits (3), joniboini (3), pooya87 (2), LoyceV (2), hugeblack (2), AB de Royse777 (2), mk4 (1), DdmrDdmr (1), Heisenberg_Hunter (1)
 #2

Your text is full of mental shortcuts which might mislead newbies (this also applies to people who have experience with crypto) if they decide to use the Lightning Network in the future.

You will be able to send, receive bitcoin with lower fees, any amount, faster than ever. It will basically help you to send & receive micro-payments.

That's false. The liquidity is a bit tricky. You are limited by the amount of coins locked up in the channel. You can't spend all the funds (reserve for closing transaction) and you can't receive more than you had initially in the channel. Not to mention that you also have to spend some of your coins in order to make space for the incoming ones.

Now, you have purchased coffee 10 times from Alice's restaurant, you will be able to pay from 0.01 BTC, this will not require any transaction fee but your Lightning Node will charge a very low fee.

Your own Lightning Network node never charges you anything. Direct payments also don't cost anything. It all depends on the nodes which route the payment. Sometimes, payments are free of charge because of other nodes' fee policy.

With Route, you may create only one channel and have able to pay in all the shops.

'May' is a keyword here. Routes can consist of many nodes which charge a different fee for routing the payment. Each node taking part in the routing process must have enough coins on their side in order to transfer the payment further. Usually, the higher the value of the transaction, the higher the chance of failure. Also, channels are still limited to about 0.16 BTC by default.


I have also written Basics of the Lightning Network which describes some information mentioned in this topic in detail. Also, the FAQ thread has a few pages of replies with many useful information!

Anyway, it's nice that you have put some effort into writing this thread. Keep it up!
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 19, 2019, 06:29:16 PM
 #3

Your text is full of mental shortcuts which might mislead newbies (this also applies to people who have experience with crypto) if they decide to use the Lightning Network in the future.
To be honest, I have tried to keep it as simple as possible so that newbies can get idea. I never thought that it could mislead users. I had tried to learn from your topic, replied earlier here and waited for a long time to get corrected by someone. But no response.
I will update this topic if possible with more information as you have corrected.

Quote
Anyway, it's nice that you have put some effort into writing this thread. Keep it up!
Thank you. I always try to share my little knowledge with the newbies so that they can learn as well.

Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
November 19, 2019, 06:36:11 PM
 #4

To be honest, I have tried to keep it as simple as possible so that newbies can get idea. I never thought that it could mislead users.

There were quite a lot of people complaining about the Lightning Network because the available information wasn't clear. It also took me a lot of time to learn all this stuff. By the way, why don't you try out the Lightning Network? You can download Eclair Mobile Testnet from the Play Store if you have an Android device. No risk involved.

I had tried to learn from your topic, replied earlier here and waited for a long time to get corrected by someone. But no response.

I sometimes forget about replies if I read them when I am on the go, sorry. Is there anything else you would like me to explain in a reply to that post?
nelson4lov
Hero Member
*****
Offline Offline

Activity: 2030
Merit: 789


Top Crypto Casino


View Profile
November 19, 2019, 08:20:52 PM
 #5

Thanks for the comprehensive guide. I like the fact that it's nottoo technical. At least now, If someone asks me about Lightening Networks, I can say a thing or two about it and still make sense. During the weekend, I stumbled on a Twitter account/startup that supports Lightening Networks and I was surprised when they could send as little as 500 satoshi to winners of their mini giveaway. I must admit, I was shocked!

Lightening Networks might not bring the much needed adoption but it'll play a very vital role as it'll greatly help with the Lightening fast micro payments.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BITCOIN4X
Legendary
*
Offline Offline

Activity: 1932
Merit: 1150



View Profile
November 20, 2019, 02:19:22 AM
 #6

I think LN is a bitcoin adhesion developed by the bitcoin community that is useful for low cost micro transactions. But I have never tried to make transactions using LN. LN can also be compatible with mobile phones where the very familiar wallet is Bluewallet. But for some cases, Bluewallet needs time to synchronize node which will make some people uninterested.
Bitlum wallet is an alternative that can also be used to make LN transactions. Based on other people is experiences, Bitlum wallets charge 1 satoshi per transaction.

Indonesian:
Karena bitlum simple dan tanpa sincronisasi node buat pake LN, sebelumnya ane prnh coba bluewallet dan musti sinc node yg bikin ribet menurut ane.

Fee bitlum 1 Satoshi pertransfer bitcoin

Translate:
Because it is simple and without node synchronization for LN, I have previously tried Bluewallet and had to synchronize the nodes that made me feel bad, in my opinion.
Bitlum fee 1 Satoshi bitcoin transfer.

.
.DuelbitsSPORTS.
▄▄▄███████▄▄▄
▄▄█████████████████▄▄
▄██████████████████████▄
██████████████████████████
███████████████████████████
██████████████████████████████
██████████████████████████████
█████████████████████████████
███████████████████████████
█████████████████████████
▀████████████████████████
▀▀███████████████████
██████████████████████████████
██
██
██
██

██
██
██
██

██
██
██
████████▄▄▄▄██▄▄▄██
███▄█▀▄▄▀███▄█████
█████████████▀▀▀██
██▀ ▀██████████████████
███▄███████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
▀█████████████████████▀
▀▀███████████████▀▀
▀▀▀▀█▀▀▀▀
OFFICIAL EUROPEAN
BETTING PARTNER OF
ASTON VILLA FC
██
██
██
██

██
██
██
██

██
██
██
10%   CASHBACK   
          100%   MULTICHARGER   
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
November 20, 2019, 02:05:14 PM
 #7

OP Updated.

Bitlum wallet is an alternative that can also be used to make LN transactions. Based on other people is experiences, Bitlum wallets charge 1 satoshi per transaction.
Never heard about Bitlum wallet. You can try with eclair wallet for Android which I am doing at the moment. By the way, no wallet charge fee for any transaction. Bitlum is a wallet which might support LN but this has no connection with charging 1 satoshi per transaction. As like BitCryptex said above, the fee will be charged by the route and it can be different depending on which Route you are using.

Husna QA
Legendary
*
Offline Offline

Activity: 2226
Merit: 2840


#SWGT CERTIK Audited


View Profile WWW
November 21, 2019, 02:57:18 PM
Merited by JayJuanGee (1)
 #8

-snip-
Bitlum wallet is an alternative that can also be used to make LN transactions. Based on other people is experiences, Bitlum wallets charge 1 satoshi per transaction.
Never heard about Bitlum wallet. -snip-
FYI, Bitlum wallet is shutting down in October 20th,
https://bitlum.io/
The website address is no longer actively. Use the following link to view the announcement:
https://webcache.googleusercontent.com/search?q=cache:9TSE4rbsgGsJ:https://bitlum.io/+&cd=8&hl=id&ct=clnk&gl=id

You can read more information about that in this article:
https://medium.com/bitlum/bitlum-shutdown-20th-october-9d5eabc32fec

Credit to: pandukelana

charlie137
Full Member
***
Offline Offline

Activity: 1204
Merit: 220


(ノಠ益ಠ)ノ


View Profile WWW
December 01, 2019, 04:07:19 PM
Last edit: December 01, 2019, 04:55:27 PM by charlie137
Merited by JayJuanGee (1)
 #9

LN boxes:

raspiblitz
https://github.com/rootzoll/raspiblitz

Lightning-in-a-box
https://lightninginabox.co/product/lightning-in-a-box-qotom-case/

Nodlbox
https://www.nodl.it/nodlbox/


Raspiblitz right now probably one of the best ways to learn LN. Very easy to deploy, smooth learning curve, will teach you all you need to start) Haven't tried btcpayserver (https://github.com/btcpayserver/btcpayserver) tho, but looks like docs are fine

/__      ___ (  /    
\\--`-'-|`---\\ |      AXErunners
 |' _/   ` __/ / 
 '._  W    ,--'     
    |_:_._/
50 Cent
Full Member
***
Offline Offline

Activity: 519
Merit: 197



View Profile
December 24, 2019, 01:21:48 AM
Merited by JayJuanGee (1), RapTarX (1)
 #10

Because you quated me, look like bitlum.io website has been off. Can't use any more

I have news about bitfinex exchange use LN now.
https://www.bitfinex.com/posts/440
Quote
Bitfinex Launches Support for the Lightning Network

Connect to the Bitfinex Lightning Node https://ln.bitfinex.com/

https://support.bitfinex.com/hc/en-us/articles/360039801053-Lightning-Network-BTC-LNX-Deposits-Withdrawals

Lightning Network BTC (LNX) Deposits & Withdrawals




Artemis3
Legendary
*
Offline Offline

Activity: 1988
Merit: 1556


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
January 01, 2020, 10:31:04 PM
 #11

Two problems we see when you want to pay $2 for a coffee.
- You will not be happy to pay $1 fee for spending $2 worth of BTC.
- Alice will not accept BTC because it requires much time to get confirmed.

This is not true. Alice can wait and not serve you anything until it gets a confirmation, it is you Bob who needs to leave quickly. There is no reason for Alice to reject bitcoin, she could risk it and trust you or make you wait. LN is like a virtual tab that would help alleviate this in the future, but you could also have paid the coffee long before going into the shop (such as from your workplace).

Of course if you are a recurring customer, you would make the most use of it, since you both can leave the channel open and do several more transactions maximizing the LN use before consolidating.

However these concepts are hard to grasp for common folk, this won't be easy at all. Wallets need to be designed very carefully when they support LN. I see very little reason to use LN in most bitcoin transfers, others will try to (ab)use it for everything including a lambo...

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
January 02, 2020, 08:53:36 AM
Merited by DdmrDdmr (1)
 #12

However these concepts are hard to grasp for common folk, this won't be easy at all.
I have tested LN with testnet BTC and so far, it's very easy to use & hadn't face much of problem. I have done it with Eclair BTC wallet & I guess this one is very much user-friendly; even for a non-tech guy.
Quote
I see very little reason to use LN in most bitcoin transfers, others will try to (ab)use it for everything including a lambo...
Not true. LN can be used as wide variety of payments where we do transfer BTC in a regular basis. For instance; you can use LN in exchanges for liquidity of your BTC instantly or putting a purchase order of ETH(any alt) faster. Or you can also have the arbitrary opportunity with LN; transferring BTC from exchanges to exchanges made faster with LN. Bitfinex & some other exchanges accept LN payment now. You can also use LN with gambling sites.
Well, there are a lot of usage of LN; in daily life, where you used to purchase your daily necessaries could be a great place for lightning network payments.
No one will use LN for a bigger amount payment of course; LN is designed to focus on micro payments generally.
You have the privacy benefit as well; I'm not certain though but as far as I know, it's not that easy to trace a LN payment of course.

Quote
but you could also have paid the coffee long before going into the shop (such as from your workplace).
I don't know if people would be much of interested to pay advance for a coffee from workplace which is gonna be drunk after a while; Have you ever paid for such items with other available payment network? In my local, I could have paid advance with paytm but I doubt I would ever consider paying advance for a coffee; in fact, I wouldn't for anything other than ordering something online which require advance payment.

50 Cent
Full Member
***
Offline Offline

Activity: 519
Merit: 197



View Profile
January 04, 2020, 02:03:05 AM
 #13

You can also use LN with gambling sites.
Well, there are a lot of usage of LN; in daily life, where you used to purchase your daily necessaries could be a great place for lightning network payments.
I found website storing payment by the lightning network
https://lightningnetworkstores.com/
https://joltfun.com/
Never tried before so do with your own risk.

hknot
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 14, 2020, 01:06:50 PM
 #14

Hi guys,
I am just curious, how it is possible, that LN is implemented without softfork ( I know that thanks to Segwith LN is implemented) but what is the proces of implementation ? how does it worked ? Someone (Bitcoin developeers??)  just did an upgrade for wallet and only one point which has to be done is to upgrade wallet (or the provider has to upgrade wallet) and than you are free to use LN. Or what is the process of implementation ? Thank you very much.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
March 14, 2020, 01:13:32 PM
 #15

Someone (Bitcoin developeers??)  just did an upgrade for wallet and only one point which has to be done is to upgrade wallet (or the provider has to upgrade wallet) and than you are free to use LN. Or what is the process of implementation ?

You have to use a dedicated software wallet in order to be able to use the Lightning Network. Lightning Network wallets can also act as normal Bitcoin wallets. Otherwise, they wouldn't be able to open and close channels which require on-chain transactions. The Lightning Network works on top of the Bitcoin blockchain and is fully optional so I doubt it will be available in every wallet. Each implementation has to follow the specs.

Channels are established and closed using Bitcoin transactions and the transactions inside the channels (they are not broadcast to Bitcoin nodes) are valid thanks to timelocks and pre-signed Bitcoin transactions. I guess that's the shortest possible way of describing how it works.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1498
Merit: 4779



View Profile
March 18, 2020, 12:07:25 PM
Last edit: March 18, 2020, 01:29:15 PM by Charles-Tim
 #16

The lightning network makes transactions faster at low transaction fee. It is only supported by few wallets now. I have not seen it on reputed exchanges. It is good for small transactions lime the coffee shop used as an example and lastly, it is a bit centralized.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
RapTarX (OP)
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
March 18, 2020, 03:59:08 PM
 #17

I have not seen it on reputed exchanges.
Bitstamp and Bitfinex are two of the reputed exchanges which at the moment accepting Lightning Network payments; I don't know how much reputed both the exchanges to you. I had created a thread on exchanges accepting LN payments- Some exchanges accepting Lightning Network
And yeah, LN is very good for the small transactions; big transactions are mostly unlikely to be transacted through LN unless someone needs super fast transaction.

noahark
Newbie
*
Offline Offline

Activity: 6
Merit: 2


View Profile
March 22, 2020, 06:02:19 AM
 #18

Thank you for the guide.
Looking for more reallife cases to see it better in application.
I believe however, LN has a good future, especially when it comes to payments made in local shops.
hknot
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
June 08, 2020, 01:57:08 PM
 #19

Hi guys,
I would like to ask one question, cause I am a little bit confused. The question is about payment channels and their direction. Is LN channel bidirectional? I read on the Internet tha channel shoul be but I am not pretty sure, if It has been developing or if it has already worked.

Example:

1) Bob opens a 1BTC channel with Alice and sends her 0.5BTC. If Alice wants to send Bob 0.5BTC may she uses the same channel or it is just onedirection channel and she has to open another channel which is in direction Alice->Bob and use this for paying Bob.

2) May Bob and Alice open just 1 channel where both fund 1 BTC so the total balance of the channel will be 2 BTC or the only possible way is that Bob opens channel with Alice where he funds 1 BTC so the total balance will be 1BTC and Alice has to opend channel with Bob, where she fund 1 BTC?

Thank you veru much for response
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
June 08, 2020, 02:02:23 PM
 #20

Is LN channel bidirectional?

Yes, all Lightning Network channels are bidirectional. There is no reason to artificially change that. Consider reading my "Basics of The Lightning Network" thread if you are still confused. I also updated the FAQ yesterday. You might find these two threads useful.

2) May Bob and Alice open just 1 channel where both fund 1 BTC so the total balance of the channel will be 2 BTC or the only possible way is that Bob opens channel with Alice where he funds 1 BTC so the total balance will be 1BTC and Alice has to opend channel with Bob, where she fund 1 BTC?

Currently, it is not possible for two people to provide funds for the same channel. Theoretically, Bob could open a channel with 2 BTC and push 1 BTC to the Alice's side.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!