Pages:
Author

Topic: The Lightning Network FAQ - page 54. (Read 33287 times)

legendary
Activity: 2898
Merit: 1823
November 13, 2020, 01:05:49 AM
LN is a bit like a spoke-hub: instead of making a connection from anywhere to anywhere, everyone makes only a few connections.
That's just plain wrong. The Lightning Network is completely distributed at its core.
But..... How far is the current Lightning Network from being completely distributed? I get that it's theoretically possible, just like it's possible to send a letter from A to B without using a centralized distribution center, but I'd expect a few large nodes to handle the majority of transactions because it's much more efficient that way.


Plus only a few large nodes can handle the costs, and handle the opportunity costs by earning them back in fees.

https://twitter.com/alexbosworth/status/1318778737228349440
Quote
Today my nodes reached 0.21 BTC (currently $2,500) in routing fee earnings, on 83 (currently $1,000,000) of forwarded BTC.
That's 0.25% fee on average, not bad for small transactions (paying 5 sat to send 2000 sat), but if you're sending a few mBTC, on-chain fees can be lower already.

From what I've seen so far, this is much more likely:
Quote
Realistically I have earned 326 Satoshi over the last two years


Then how did Alex Bosworth reach $2,500 in routing fee earnings?

I believe it was darosior who also said that he earns enough to pay for his monthly costs for running his node. What is the secret? Cool
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 12, 2020, 12:51:34 PM
LN is a bit like a spoke-hub: instead of making a connection from anywhere to anywhere, everyone makes only a few connections.
That's just plain wrong. The Lightning Network is completely distributed at its core.
But..... How far is the current Lightning Network from being completely distributed? I get that it's theoretically possible, just like it's possible to send a letter from A to B without using a centralized distribution center, but I'd expect a few large nodes to handle the majority of transactions because it's much more efficient that way.

https://twitter.com/alexbosworth/status/1318778737228349440
Quote
Today my nodes reached 0.21 BTC (currently $2,500) in routing fee earnings, on 83 (currently $1,000,000) of forwarded BTC.
That's 0.25% fee on average, not bad for small transactions (paying 5 sat to send 2000 sat), but if you're sending a few mBTC, on-chain fees can be lower already.

From what I've seen so far, this is much more likely:
Quote
Realistically I have earned 326 Satoshi over the last two years
legendary
Activity: 2898
Merit: 1823
November 12, 2020, 11:12:42 AM
OK Lightning hobbyists/experts, teach us plebs the art of running a Lightning node, FOR PROFIT. Don't keep it to yourselves! Cool

Make a simple guide for newbies?



https://twitter.com/alexbosworth/status/1318778737228349440

Quote

Today my nodes reached 0.21 BTC (currently $2,500) in routing fee earnings, on 83 (currently $1,000,000) of forwarded BTC.

sr. member
Activity: 279
Merit: 435
November 08, 2020, 09:12:40 AM
LN is a bit like a spoke-hub: instead of making a connection from anywhere to anywhere, everyone makes only a few connections.
That's just plain wrong. The Lightning Network is completely distributed at its core.

It may be right for some services built on top of the Lightning Network, such as mobile wallet providers easing the flow by providing a gossip source or even a custodial wallet.
But that must not be assimilated to the Lightning Network as defined. There were some previous models based on an *actual* hub-and-spoke architecture for payment channels, and they are very different from the Lightning Network.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 08, 2020, 06:07:32 AM
How is the connection strength and the connectivity measured? Are there stats that one could look at before deciding which route to take to make sure that the payment goes through?
I'm not sure.

Quote
Apparently it can happen that a payment doesn't go through. Is there a reason it's made this way
LN is a bit like a spoke-hub: instead of making a connection from anywhere to anywhere, everyone makes only a few connections.

Quote
and not like regular Bitcoin transactions, where everyone can send to every other person on the world?
That exists already Wink You can of course just use a normal on-chain Bitcoin transaction.
The problem with this is scalability: currently every Bitcoin node sees all transactions. That works fine for a few transactions per second. LN will be able to handle much larger transaction volumes, without storing all transaction data on the blockchain forever.
legendary
Activity: 2730
Merit: 7065
November 08, 2020, 05:35:09 AM
Snip
How is the connection strength and the connectivity measured? Are there stats that one could look at before deciding which route to take to make sure that the payment goes through? Apparently it can happen that a payment doesn't go through. Is there a reason it's made this way and not like regular Bitcoin transactions, where everyone can send to every other person on the world?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 07, 2020, 06:02:04 AM
Just ensure you write down the 24 word mnemonic seed passwords/phrase in a secure location when prompted to do so (and create an on-chain wallet first *and then* create a Lightning Wallet)
In BlueWallet, you can create a LN wallet without creating an on-chain wallet. The LN-wallet uses a different backup system.

Here's a BlueWallet LN backup holding 100 sats:
Code:
lndhub://667c9c47fa0ac23c2844:11c65745b9b050dd731b
First one to restore this backup can move it to his own wallet.
Warning: don't use this wallet to receive funds, it's obviously compromised.
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
November 07, 2020, 05:46:01 AM
That's why Loyce suggested using a custodial wallet. BlueWallet doesn't require you to open your own channels. You can start receiving coins over the Lightning Network right after you create a wallet. You don't have to worry about inbound/outbound liquidity since it's managed by someone else.

Just ensure you write down the 24 word mnemonic seed passwords/phrase in a secure location when prompted to do so (and create an on-chain wallet first *and then* create a Lightning Wallet)
legendary
Activity: 1876
Merit: 3132
November 07, 2020, 04:39:42 AM
I would then be able to make a direct connection with the grocery store without going to any other node?

That's correct.

I understand that this is a a test you are suggesting.. I am just saying that using LN for an one time thing doesn't save on fees or improves the speed of confirmation.

That's why Loyce suggested using a custodial wallet. BlueWallet doesn't require you to open your own channels. You can start receiving coins over the Lightning Network right after you create a wallet. You don't have to worry about inbound/outbound liquidity since it's managed by someone else.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 07, 2020, 04:37:56 AM
For the sake of simplicity, let's say they aren't using a third-party for their payment needs, and will keep the Bitcoin. I would then be able to make a direct connection with the grocery store without going to any other node?
Yes.
And if the grocery store's node is well-connected, you'll be able to pay your local bookstore too without opening another channel.

Quote
I am just saying that using LN for an one time thing doesn't save on fees or improves the speed of confirmation.
I think of LN as a Bitcoin niche market: it's still small, but has the potential to grow a lot. My one time testing lead to currently having several wallets installed, each with a few bucks worth of LN sats in there. Whenever a site (such as a webhost) accepts LN, I use it to help increase it's usage.
legendary
Activity: 2730
Merit: 7065
November 07, 2020, 04:27:00 AM
You could open a channel with either payment processor's node or any other well-connected node which would be able to route your payment. The routing fee should be negligible in the latter case. You wouldn't be able to connect directly to the grocery store since in this scenario, they would be using a third-party to handle your payment.
For the sake of simplicity, let's say they aren't using a third-party for their payment needs, and will keep the Bitcoin. I would then be able to make a direct connection with the grocery store without going to any other node?

If you haven't tried it yet, just try Smiley A custodial wallet is easiest though, and if you post a payment request for 100 sats, I'll fund it so you can send a few sats to a casino to test it.
I don't see any benefits in using LN one time only, or for testing purposes. It is good to test things to see how they work. But opening the channel requires a standard on-chain transaction with normal fees. Closing it as well. If I were to send multiple payments a day/week/month, it would make sense.

I understand that this is a a test you are suggesting. I am just saying that using LN for an one time thing doesn't save on fees or improves the speed of confirmation.
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
November 06, 2020, 08:39:40 AM
How do I establish the connection to the grocery store in this scenario? I send LN payments to the node operator. The node operator opens a channel to the grocery store?
That's the "magic" of LN: the network finds a route to send your payment. As long as the node is connected to someone who (is connected to someone who) has a connection to the node you need, it should work. It sometimes fails though, but I assume that gets better over time.
If you haven't tried it yet, just try Smiley A custodial wallet is easiest though, and if you post a payment request for 100 sats, I'll fund it so you can send a few sats to a casino to test it.

I'm about to bump my testing thread in lending so I can help with this too if necessary.

You lost me here. How do I establish the connection to the grocery store in this scenario? I send LN payments to the node operator. The node operator opens a channel to the grocery store?

You could open a channel with either payment processor's node or any other well-connected node which would be able to route your payment. The routing fee should be negligible in the latter case. You wouldn't be able to connect directly to the grocery store since in this scenario, they would be using a third-party to handle your payment. Usually, payment processors offer a few different ways of withdrawing money, so the grocery wouldn't necessary need to use the Lightning Network at all.

I'm considering a payment processor might for close channels on the light Ing network too to maintain their funds so it might be interesting to see how that is dealt with (unless the funds get sent to another channel but thatight need inbound capacity - I say might because things might be changed and the ln is a decentralised protocol so they can change their own thing individually if it's just them connecting to them).
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 06, 2020, 06:22:05 AM
How do I establish the connection to the grocery store in this scenario? I send LN payments to the node operator. The node operator opens a channel to the grocery store?
That's the "magic" of LN: the network finds a route to send your payment. As long as the node is connected to someone who (is connected to someone who) has a connection to the node you need, it should work. It sometimes fails though, but I assume that gets better over time.
If you haven't tried it yet, just try Smiley A custodial wallet is easiest though, and if you post a payment request for 100 sats, I'll fund it so you can send a few sats to a casino to test it.
legendary
Activity: 1876
Merit: 3132
November 06, 2020, 06:06:57 AM
You lost me here. How do I establish the connection to the grocery store in this scenario? I send LN payments to the node operator. The node operator opens a channel to the grocery store?

You could open a channel with either payment processor's node or any other well-connected node which would be able to route your payment. The routing fee should be negligible in the latter case. You wouldn't be able to connect directly to the grocery store since in this scenario, they would be using a third-party to handle your payment. Usually, payment processors offer a few different ways of withdrawing money, so the grocery wouldn't necessary need to use the Lightning Network at all.
legendary
Activity: 2730
Merit: 7065
November 06, 2020, 05:33:27 AM
A channel gets funded when it gets opened, so it makes sense to be opened by the person who has to pay the other person.
Yeah, that makes sense.

Correct. But as a customer buying groceries, that should be fine. If you're a supplier selling something to the store it's a different story.
In that scenario, they would have to be the the ones who open and fund the channel since they are paying and sending me Bitcoin.

However, if a supermarket accepts Bitcoin Lightning payments, they'll most likely use a payment processor to handle the transaction. So you can open a channel to any well-connected node, and the shop doesn't have to worry about anything.
You lost me here. How do I establish the connection to the grocery store in this scenario? I send LN payments to the node operator. The node operator opens a channel to the grocery store?
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 06, 2020, 05:03:57 AM
I can conclude that the grocery store would be able to receive Lightning payments as soon as the channel was opened.
Correct.

Quote
But I have to be the one who opens the channel, not them?
A channel gets funded when it gets opened, so it makes sense to be opened by the person who has to pay the other person.

Quote
Sending payments in the opposite direction would in this scenario not be possible. The grocery store can't send me anything, because "my bottle is full" and I first have to empty it by sending funds to them.
Correct. But as a customer buying groceries, that should be fine. If you're a supplier selling something to the store it's a different story.



However, if a supermarket accepts Bitcoin Lightning payments, they'll most likely use a payment processor to handle the transaction. So you can open a channel to any well-connected node, and the shop doesn't have to worry about anything.
legendary
Activity: 2730
Merit: 7065
November 06, 2020, 04:43:17 AM
...because if you open a channel directly to the grocery place, then your outgoing capacity is their incoming capacity. For that channel only.

So it would be no problem in that case,
So from your response, I can conclude that the grocery store would be able to receive Lightning payments as soon as the channel was opened. But I have to be the one who opens the channel, not them? Sending payments in the opposite direction would in this scenario not be possible. The grocery store can't send me anything, because "my bottle is full" and I first have to empty it by sending funds to them. Did I understand it correctly?

@Timelord2067
This is only a made-up scenario I though of. It didn't happen. I am just trying to figure out some specifics about the LN network. I found the part of the FAQ that mentioned that funds couldn't be accepted immediately with the opening of the channel unusual. 
legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
November 05, 2020, 06:52:31 PM
We open up a payment channel,

Did you wait for the transaction (to open a channel with the other side) to confirm *before* you tried to send funds to that person?   And, was the channel opened directly with that other side, or through a third party?  What LN wallets are you both using?
legendary
Activity: 3430
Merit: 3080
November 05, 2020, 01:09:14 PM
@Pmalek

the key phrase in your explanation is here:

We open up a payment channel

...because if you open a channel directly to the grocery place, then your outgoing capacity is their incoming capacity. For that channel only.

So it would be no problem in that case, but the grocery place would get some info about your on-chain funds (i.e. how much change you received from the tx that opened the channel to them)
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
November 05, 2020, 12:54:47 PM
I don't know if someone can confirm this and I ought to try it but I assumed if you have a channel opened with you by someone else, that part of the funds also become inbound capacity.

It'd make sense for a grocery store to do this as it'd also mean you don't need Internet to be able to spend your funds (you still need to sign a transaction but only they need Internet in order to process it)...

At the moment when you open a channel, you're the only one who funds it. There's a chance this'll change but for now that's how it is.
Pages:
Jump to: