Bitcoin Forum
April 25, 2024, 12:12:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Lightning Network questions  (Read 262 times)
crypto_curious (OP)
Full Member
***
Offline Offline

Activity: 924
Merit: 175


View Profile
April 17, 2020, 06:23:32 AM
 #1

Hello friends,

A apologize in advance is this is trivial to some of you, but I've been reading and there is no clear explanation to what I am trying to understand. So let me ask you Smiley

Every week I am paying my business partner some amount of Bitcoin for goods he is selling me. I am using SegWit, bech32 native addresses so we save on fees. Everything is good so far. But I know that at some point fees will be higher and I won't be able to use low fees like 1 sat/byte I am using mostly now.
So I started research on LN. I have c-lightning node already running, but not connected to anyone and no channels. Questions:
1. How we can connect on LN? We both need to keep nodes open, or just one of us? If only one node is required, will it be me or him?
2. I understand he would issue me a "invoice" every week and I would pay it each time using my LN wallet. So I don't need a node technically, he should have a node. Correct?
3. Can I have node open and pay to his LN wallet or something? So he don't need to have a node? How he would transfer Bitcoins back from LN to his normal SegWit wallet?
4. I would need to replenish my LN balance every now and then, as I am only sending funds to him and he is not sending anything back. That would save amount of on-chain transactions. Correct?
5. When funding or opening a LN channel, can I pick amount of on-chain fee? I'd like to open a channel using 1 sat/byte, I don't mind to wait. C-lightning can allow for that?
6. Can I pay him passively so he doesn't need to do anything, no issuing of "invoices" or anything? In best case scenario, I have a node, I am opening and funding a channel, all he does it to install LN wallet and give me his address. And then I need to explain to him how to transfer BTC from LN wallet to his normal Electrum wallet.

I'd appreciate any replies and please me patient with me, I am completely new to LN. Thanks! Smiley
1714047124
Hero Member
*
Offline Offline

Posts: 1714047124

View Profile Personal Message (Offline)

Ignore
1714047124
Reply with quote  #2

1714047124
Report to moderator
1714047124
Hero Member
*
Offline Offline

Posts: 1714047124

View Profile Personal Message (Offline)

Ignore
1714047124
Reply with quote  #2

1714047124
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714047124
Hero Member
*
Offline Offline

Posts: 1714047124

View Profile Personal Message (Offline)

Ignore
1714047124
Reply with quote  #2

1714047124
Report to moderator
Wind_FURY
Legendary
*
Offline Offline

Activity: 2898
Merit: 1820



View Profile
April 17, 2020, 08:07:33 AM
 #2

All questions will be answered/or are already answered in this topic, https://bitcointalk.org/index.php?topic=5158920.0

Plus I believe the saying, "Google is your friend" applies. Practice your information-searching skills. Happy hunting.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 17, 2020, 08:25:17 AM
Last edit: April 17, 2020, 10:49:18 AM by BitCryptex
 #3

I have answered your questions in a separate post under The Lightning Network FAQ thread. Feel free to ask more questions in that topic so that more people could contribute and easily find answers to the same questions in the future. Also, consider reading the first post in that thread and this one.
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
April 17, 2020, 08:28:17 AM
Merited by bones261 (4), Heisenberg_Hunter (2), o_e_l_e_o (1)
 #4

EDIT: Ok better moving to the thread by bitcryptex above..


Wind_Fury is right, better would have been to checkout https://bitcointalk.org/index.php?topic=5158920.0 before..

But here are some answers anyway for the record.
Hello friends,
Hello crypto_curious Smiley

So I started research on LN. I have c-lightning node already running, but not connected to anyone and no channels. Questions:
Just to mention, we just started an FAQ, maybe it's a good place to start finding some informations.

1. How we can connect on LN? We both need to keep nodes open, or just one of us? If only one node is required, will it be me or him?
Both for the connection, none to keep a channel opened. A long absence will result in a force close, though.

2. I understand he would issue me a "invoice" every week and I would pay it each time using my LN wallet. So I don't need a node technically, he should have a node. Correct?
No. You need a LN client in order to be able to pay his invoice! (And have a channel funded so that you can find a path to him.)

3. Can I have node open and pay to his LN wallet or something? So he don't need to have a node? How he would transfer Bitcoins back from LN to his normal SegWit wallet?
Unfortunately, LN requires logic on both sides in order to make a payment ("post" it for the sender, redeem it for the recipient). So no, your business partner has to run a node. Note that he could use a mobile wallet, too (I mean it's not *that* harsh to put up a LN client.

4. I would need to replenish my LN balance every now and then, as I am only sending funds to him and he is not sending anything back. That would save amount of on-chain transactions. Correct?
Yes, actually in this specific case you could be offline as long as you want. But I'm not sure the clients take this into account.

5. When funding or opening a LN channel, can I pick amount of on-chain fee? I'd like to open a channel using 1 sat/byte, I don't mind to wait. C-lightning can allow for that?
Yes Smiley
The fundchannel command allows you to specify the feerate with the 'feerate' parameter.

6. Can I pay him passively so he doesn't need to do anything, no issuing of "invoices" or anything?
Yes, it's called keysend and is only partially supported for this release (it will be fully in the next one).

In best case scenario, I have a node, I am opening and funding a channel, all he does it to install LN wallet and give me his address. And then I need to explain to him how to transfer BTC from LN wallet to his normal Electrum wallet.
Electrum is about to integrate LN, could be a good pick for your business partner ?
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
April 17, 2020, 10:48:35 AM
 #5

But if you are the receiver, you better keep your wallet or node opened 24/7 because it's possible the sender try to cheat you by broadcast earlier state of the channel.

That depends on the wallet you are using. Most of them give users 24 hours to broadcast a penalty transaction. As far as I remember, once you enable receiving in Eclair Mobile, that time is extended to 2 weeks for new channels. That's plenty of time. Turning on the app and letting it synchronize once a week should be sufficient.
crypto_curious (OP)
Full Member
***
Offline Offline

Activity: 924
Merit: 175


View Profile
April 19, 2020, 10:28:23 AM
 #6

Hello friends,

Thanks for all replies! I am very positively shocked that Electrum is implementing LN! I even had a look at their github, it's buzzing with commits. Do anyone know when will they release candidate? I wil be happy to test it. This could massively simplyfy things for me, I would just use Electrum like I use now, but with LN functionality. I would ask my business partner to run Electrum LN/server too.
As for my current setup with c-lightning, I will delve again into it and read all the FAQ. I am on the good path. Thanks again for all your help and work Smiley
RapTarX
Hero Member
*****
Offline Offline

Activity: 1358
Merit: 850



View Profile
April 19, 2020, 02:44:54 PM
 #7

Hello friends,

Thanks for all replies! I am very positively shocked that Electrum is implementing LN! I even had a look at their github, it's buzzing with commits. Do anyone know when will they release candidate? I wil be happy to test it. This could massively simplyfy things for me, I would just use Electrum like I use now, but with LN functionality.
You can test it from here- https://github.com/spesmilo/electrum, it's not official version. Make sure you are verifying the signature. To learn more about this, you can check this thread as well- https://bitcointalk.org/index.php?topic=5221146.0

Wenbing
Member
**
Offline Offline

Activity: 490
Merit: 31

There is gold in volatility..


View Profile
April 19, 2020, 07:18:10 PM
 #8

Well, when it comes to Lightening Network- it is developed to solve two major problems, which are:
1. Delay and
2. Cost of bitcoin transaction.

Below is the thread that throw much emphasis on what I want to share in this regards.

https://bitcointalk.org/index.php?topic=5240602.msg54223990#msg54223990

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ★ ★ ★ ★ ★ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
PLINKO    |7| SLOTS     (+) ROULETTE    ▼ BIT SPINBITVESTPLAY or INVEST ║ ✔ Rainbot  ✔ Happy Hours  ✔ Faucet
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ★ ★ ★ ★ ★ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Pages: [1]
  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!