Pages:
Author

Topic: The Lightning Network FAQ - page 47. (Read 32053 times)

legendary
Activity: 2898
Merit: 1823
January 20, 2021, 03:45:09 AM
I didn't need lightning network since I don't transact bitcoins very often, but right now I'll need it for micro-payments.
You could exchange some low-fee altcoin for Bitcoin on the Lightning Network through an instant exchange and have it send to your custodial LN wallet to avoid on-chain Bitcoin transactions. The minimum for Doge to BTCLN on for instance FixedFloat.com is less than a euro worth of coins.

Would it be possible to onboard non-Bitcoin users straight to Lightning, without having them to go through buying their own coins from an exchange, setting up their own wallets, and all the other steps? I believe a hosted service like that would be the most practical.

Any exchange could set up such a service, but as long as the customer doesn't create his own channel, it will only be custodial.


I believe that’s a necessary trade-off. Bitcoin users from after 2018 are not all very technical people. I am not a very technical person myself, although I’ve made an effort to understand how the network works. But to handle, and maintain my own Lightning node just to use Lightning long-term? I could learn it, but I will stop running it eventually.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
January 18, 2021, 08:27:34 AM
I didn't need lightning network since I don't transact bitcoins very often, but right now I'll need it for micro-payments.
You could exchange some low-fee altcoin for Bitcoin on the Lightning Network through an instant exchange and have it send to your custodial LN wallet to avoid on-chain Bitcoin transactions. The minimum for Doge to BTCLN on for instance FixedFloat.com is less than a euro worth of coins.

Would it be possible to onboard non-Bitcoin users straight to Lightning, without having them to go through buying their own coins from an exchange, setting up their own wallets, and all the other steps? I believe a hosted service like that would be the most practical.
Any exchange could set up such a service, but as long as the customer doesn't create his own channel, it will only be custodial.
legendary
Activity: 1876
Merit: 3131
January 18, 2021, 07:13:11 AM
Would it be possible to onboard non-Bitcoin users straight to Lightning, without having them to go through buying their own coins from an exchange, setting up their own wallets, and all the other steps? I believe a hosted service like that would be the most practical.

Sure! Strike already does it fairly well. Users can easily send Bitcoin/Lightning Network payments without having to worry about the technical details - they just need to deposit some fiat and scan a QR code of a payment invoice. Users can purchase Bitcoin directly through the app if they provide an invoice from a third-party wallet.
hero member
Activity: 667
Merit: 1529
January 18, 2021, 07:07:04 AM
Quote
Would it be possible to onboard non-Bitcoin users straight to Lightning, without having them to go through buying their own coins from an exchange, setting up their own wallets, and all the other steps? I believe a hosted service like that would be the most practical.
Yes, it is possible to go "straight to Lightning". There is for example https://satsback.com/en working only with Lightning Network, where people can receive LN-BTC as a cashback from their daily purchases. But for me it stopped working after September 2020, so there are still some issues, but it is definitely technically possible to create such service.
legendary
Activity: 2898
Merit: 1823
January 18, 2021, 07:00:26 AM
Yes but all of these are signed transactions that are kept by the channel founder.

Commitment transactions are stored and can be broadcast by both parties.

8. Alice broadcasts a transaction of her 1000 satoshis to the blockchain which makes the entire procedure useless, because the signed transaction that Bob keeps will not be accepted from the network.

Each new commitment transaction invalidates the previously signed transaction. If Alice broadcasts an old commitment transaction, Bob can immediately publish a penalty transaction which will send ALL funds to his address. It also works the other way around.

Lightning network is known for being fast. But I don't understand where does that "fast" refer to. Is it fast on confirming the transaction?

The whole point of the LN is to decrease the load on the blockchain and make small transactions cost-effective so broadcasting an on-chain transaction after every off-chain transaction would be pointless. When you send a payment over the Lightning Network to a node to which you are not directly connected, multiple nodes pass your payment further along the routing path to the destination node. That's what happens fast.


Would it be possible to onboard non-Bitcoin users straight to Lightning, without having them to go through buying their own coins from an exchange, setting up their own wallets, and all the other steps? I believe a hosted service like that would be the most practical.
legendary
Activity: 1876
Merit: 3131
January 18, 2021, 05:11:59 AM
Yes but all of these are signed transactions that are kept by the channel founder.

Commitment transactions are stored and can be broadcast by both parties.

8. Alice broadcasts a transaction of her 1000 satoshis to the blockchain which makes the entire procedure useless, because the signed transaction that Bob keeps will not be accepted from the network.

Each new commitment transaction invalidates the previously signed transaction. If Alice broadcasts an old commitment transaction, Bob can immediately publish a penalty transaction which will send ALL funds to his address. It also works the other way around.

Lightning network is known for being fast. But I don't understand where does that "fast" refer to. Is it fast on confirming the transaction?

The whole point of the LN is to decrease the load on the blockchain and make small transactions cost-effective so broadcasting an on-chain transaction after every off-chain transaction would be pointless. When you send a payment over the Lightning Network to a node to which you are not directly connected, multiple nodes pass your payment further along the routing path to the destination node. That's what happens fast.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
January 18, 2021, 04:50:46 AM
If the channel opening transaction is not confirmed, you can't use such a channel. Every time a channel is updated (either one spends/receives some coins or routes a payment), both parties sign a new commitment transaction which reflects the updated balance of the channel.
Yes but all of these are signed transactions that are kept by the channel founder. What if Alice broadcasts one transaction of her address that has signed transactions to Bob? I'm trying to understand how the channel founder can prevent from making the entire procedure useless.

It would be better to show it with the steps (It's on 8):

Quote
1. Alice opens a payment channel to Bob, and Bob opens a payment channel to Charlie.
2. Alice wants to buy something from Charlie for 1000 satoshis.
3. Charlie generates a random number and generates its SHA256 hash. Charlie gives that hash to Alice.
4. Alice uses her payment channel to Bob to pay him 1,000 satoshis, but she adds the hash Charlie gave her to the payment along with an extra condition: in order for Bob to claim the payment, he has to provide the data which was used to produce that hash.
5. Bob uses his payment channel to Charlie to pay Charlie 1,000 satoshis, and Bob adds a copy of the same condition that Alice put on the payment she gave Bob.
6. Charlie has the original data that was used to produce the hash (called a pre-image), so Charlie can use it to finalize his payment and fully receive the payment from Bob. By doing so, Charlie necessarily makes the pre-image available to Bob.
7. Bob uses the pre-image to finalize his payment from Alice
8. Alice broadcasts a transaction of her 1000 satoshis to the blockchain which makes the entire procedure useless, because the signed transaction that Bob keeps will not be accepted from the network.

Lightning network is known for being fast. But I don't understand where does that "fast" refer to. Is it fast on confirming the transaction? AFAIK, if the transaction is not written in a block, it can be double-spent.
legendary
Activity: 1876
Merit: 3131
January 18, 2021, 04:07:14 AM
I'm trying to understand it, but I don't get it. Even if transaction(s) are signed in a multi-signature address, they still have to be broadcasted on-chain, so a very high fee must be paid. By who?

By the funder of the channel.

Second question, what if I pay with lightning network and before they are added to the blockchain, I spend them? Won't this make the signed transaction useless?

If the channel opening transaction is not confirmed, you can't use such a channel. Every time a channel is updated (either one spends/receives some coins or routes a payment), both parties sign a new commitment transaction which reflects the updated balance of the channel.
STT
legendary
Activity: 3878
Merit: 1411
Leading Crypto Sports Betting & Casino Platform
January 18, 2021, 04:01:32 AM
Quote
Don't forget most withdraws on exchanges also are a profit center.
Definitely is that way, they allow deposits no problem but when people demand it back and just want any hassle over with thats when the fees come in and people are far more likely to take it without it hindering future usage of the exchange like deposit fees might discourage some.     The biggest use I've found for ETC the old branch of ETH was being common but also very cheap between exchanges, many of the other alts fail to do that or have spread margins too big to be worth it or just not common elsewhere to transfer.
   Meanwhile using a wallet is not a problem, it clears with really not much needed so the fee problem is a useful construct for many sites to gain minimum revenue from every user.   Eventually zero hassle has to be a thing for mainstream takeup.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
January 18, 2021, 03:44:49 AM
I'm trying to understand it, but I don't get it. Even if transaction(s) are signed in a multi-signature address, they still have to be broadcasted on-chain, so a very high fee must be paid. By who?

Second question, what if I pay with lightning network and before they are added to the blockchain, I spend them? Won't this make the signed transaction useless?

Sorry for the noob questions, I didn't need lightning network since I don't transact bitcoins very often, but right now I'll need it for micro-payments.
legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
January 13, 2021, 08:31:13 AM
I love the wild theories about this, but couldn't it just be someone who set up (or is testing) some micro payment system?

That was my 1st thought, BUT I would think that.

1) It went on for longer then I have the screen shot for so that just seems excessive. That's a lot of testing.
2) They would be using their own nodes.
3) That is what testnet is for (yeah I know it's such a small amount who cares)

So I dismissed it. Looing back through some logs it did happen once before so I'll just put it in the "meh, whatever" pile and move on.

-Dave
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
January 13, 2021, 04:34:45 AM
I love the wild theories about this, but couldn't it just be someone who set up (or is testing) some micro payment system?
legendary
Activity: 3626
Merit: 2209
💲🏎️💨🚓
January 12, 2021, 11:35:02 PM
It wouldn't be something like the One Satoshi quasi spam that occurred during the Sochi Winter Olympics a few years ago? IIRC it was either a tracking attack (actual terminology name escapes me just now) or it really was just a cleaver marketing ploy...

Either way I seem to recall hearing that "feature" has now been disabled.
copper member
Activity: 1610
Merit: 1899
Amazon Prime Member #7
January 12, 2021, 11:08:22 PM
So was looking at my node just now and saw this:

Just dozens of 2sat (3 with fee) transactions.
Any idea why someone would be doing it? Just seems real odd.
Never saw it before, so I don't know if its something odd or I just never noticed.

-Dave

Don't get me wrong I'll take the 1 sat per transaction all day long, but it makes you wonder what else is going on out there that nobody sees.

-Dave
 
I would guess it is someone trying to calculate the size of open channels. If you know the size of open channels at enough intervals, you can potentially track individual LN transactions that are supposed to be private. Or it could be someone trying to reduce privacy in some other way.

It could also be someone trying to send a larger amount of coin to someone via many transactions than would be possible via a single transaction.
legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
January 12, 2021, 08:30:06 PM
Just putting it out therre: could that be used to check if your node is online by sending a transaction every 30 mins worth 2 sats and getting a notification from it? That's my best guess atm...


Why would anyone care and it's not a regular interval:

Code:
12/JAN/2021 13:35
12/JAN/2021 13:04
12/JAN/2021 13:00
12/JAN/2021 13:00
12/JAN/2021 12:58
12/JAN/2021 12:57
12/JAN/2021 12:55
12/JAN/2021 12:53
12/JAN/2021 12:49
12/JAN/2021 12:46
12/JAN/2021 12:42
12/JAN/2021 12:41
12/JAN/2021 12:40
12/JAN/2021 12:40
12/JAN/2021 12:39
12/JAN/2021 12:38
12/JAN/2021 12:34
12/JAN/2021 12:34
12/JAN/2021 12:33
12/JAN/2021 12:29
12/JAN/2021 12:27
12/JAN/2021 12:26
12/JAN/2021 12:26
12/JAN/2021 12:21
12/JAN/2021 12:17
12/JAN/2021 12:16
12/JAN/2021 12:13
12/JAN/2021 12:10
12/JAN/2021 12:09
12/JAN/2021 12:02
12/JAN/2021 12:02
12/JAN/2021 11:51
12/JAN/2021 11:49
12/JAN/2021 11:47
12/JAN/2021 11:46
12/JAN/2021 11:45
12/JAN/2021 11:45
12/JAN/2021 11:44
12/JAN/2021 11:42
12/JAN/2021 10:49
12/JAN/2021 05:37
12/JAN/2021 05:20
12/JAN/2021 05:19

And unless it was someone at WalletOfSatoshi.com I don't think there would be anyway to force it to use my node. According to 1ML WalletOfSatoshi.com [6] has 128 channels open.
Don't get me wrong I'll take the 1 sat per transaction all day long, but it makes you wonder what else is going on out there that nobody sees.

-Dave
 
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
January 12, 2021, 08:06:34 PM
Just putting it out therre: could that be used to check if your node is online by sending a transaction every 30 mins worth 2 sats and getting a notification from it? That's my best guess atm...
legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
January 12, 2021, 07:58:30 PM
So was looking at my node just now and saw this:



Just dozens of 2sat (3 with fee) transactions.
Any idea why someone would be doing it? Just seems real odd.
Never saw it before, so I don't know if its something odd or I just never noticed.

-Dave
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
January 04, 2021, 12:32:56 PM
But I don't know if I can find those transactions. I will take a look into it when your data is ready
I wasn't planning on doing anything with "inputs", unless there is a specific request. I'm basically just mirroring Blockchair.
I can do data extractions, but I'll need to know what you need. And it will take a while because there's a lot of data.
I think most datasets already available should have all the info necessary AFAIK. You can either check the script type or the public keys used for signing it from what I can remember.

Full human readable data would be HUGE.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
January 04, 2021, 12:23:43 PM
But I don't know if I can find those transactions. I will take a look into it when your data is ready
I wasn't planning on doing anything with "inputs", unless there is a specific request. I'm basically just mirroring Blockchair.
I can do data extractions, but I'll need to know what you need. And it will take a while because there's a lot of data.
legendary
Activity: 2212
Merit: 5622
Non-custodial BTC Wallet
January 04, 2021, 12:07:42 PM
For a channel that had been closed you're looking for a multisig 2 of 2 script
If you bitmover can find them in for instance blockchair_bitcoin_inputs_20210103.tsv.gz (45 minutes download): I should have all ~350 GB data available somewhere next month.

Yes, my idea was really to look for them into your data, as it is organized in CSV and I am already used to it.

But I don't know if I can find those transactions. I will take a look into it when your data is ready
Pages:
Jump to: