Bitcoin Forum
October 18, 2018, 12:53:40 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: Lightning Questions  (Read 347 times)
Enre
Sr. Member
****
Offline Offline

Activity: 588
Merit: 256


ICO Accelerator & Consultant


View Profile
January 20, 2018, 02:29:23 AM
Merited by shorena (5)
 #1

I think we can discuss lightning questions here, so we can easily find them and address them in one place.

I have a few questions myself:
I heard Lightning allows sending across extendible networks, does that mean you can send through a friend's open channels?

In that case, could that allow for something like channel relays that could connect everywhere?
1539867221
Hero Member
*
Offline Offline

Posts: 1539867221

View Profile Personal Message (Offline)

Ignore
1539867221
Reply with quote  #2

1539867221
Report to moderator
1539867221
Hero Member
*
Offline Offline

Posts: 1539867221

View Profile Personal Message (Offline)

Ignore
1539867221
Reply with quote  #2

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

Posts: 1539867221

View Profile Personal Message (Offline)

Ignore
1539867221
Reply with quote  #2

1539867221
Report to moderator
1539867221
Hero Member
*
Offline Offline

Posts: 1539867221

View Profile Personal Message (Offline)

Ignore
1539867221
Reply with quote  #2

1539867221
Report to moderator
Kakmakr
Legendary
*
Offline Offline

Activity: 1442
Merit: 1128

★ ChipMixer | Bitcoin mixing service ★


View Profile
January 20, 2018, 10:54:14 AM
 #2

That is how it was supposed to work, is it not? The more channels that are opened, the easier and
cheaper it will be to find the shortest route for your transaction. As long as the channel is funded, it
will stay open for others to use.

I still have a very basic knowledge on the subject, like I think most people do, but I have a general grasp of the use case.

This is truely a mind blowing technology. ^smile^

HeRetiK
Hero Member
*****
Online Online

Activity: 896
Merit: 758


the forkings will continue until morale improves


View Profile
January 20, 2018, 12:37:16 PM
Merited by vv181 (1)
 #3

[...]

I heard Lightning allows sending across extendible networks, does that mean you can send through a friend's open channels?

Yes, if you already have a direct channel opened to your friend. However you don't get to choose which route your payment takes. It may cross your friend's node, but it may also take an entirely different route.


In that case, could that allow for something like channel relays that could connect everywhere?

As mentioned by Kakmakr, the whole idea behind Lightning Network is to have a multitude of interconnected nodes (ie. wallets with open channels) form a network of payment channels that can relay transactions without requiring 2 parties to be directly connected to one another -- as long as there is a viable path that transactions can take ie. as long as they are at least indirectly connected. That's the Network in Lightning Network.

mindrust
Legendary
*
Offline Offline

Activity: 1218
Merit: 1159



View Profile WWW
January 20, 2018, 12:40:14 PM
 #4

LN is already up & working btw  Cool

https://lnmainnet.gaben.win/
125 channels / 65 nodes on mainnet now.

Still, don't be #reckless wait for a stable idiot proof release.
cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1152


View Profile
January 20, 2018, 01:01:15 PM
 #5

LN is already up & working btw  Cool

https://lnmainnet.gaben.win/
125 channels / 65 nodes on mainnet now.

Still, don't be #reckless wait for a stable idiot proof release.

There are people buying real, physical things paying with lightning already. Take this guy for instance, he paid $2.50 to fill the channel:

https://www.reddit.com/r/Bitcoin/comments/7rkunw/lightning_the_future_just_arrived_at_my_doorstep/

The problem is when you run out of money, you must refill the channel with another on-chain transaction, so this incentives people to put as much money as possible at once on the channel, something that may not be viable for most people. For example if you want to buy a router, let's say it costs $150 bucks.. well most people isn't going to put more than that, so you would already spend all of your channel's funds at once not saving money.

I wonder he did get such a low transaction for the on-chain one tho, $2.50 is super low even if you use segwit. He must have gotten lucky with a period of low mempool activity.

mindrust
Legendary
*
Offline Offline

Activity: 1218
Merit: 1159



View Profile WWW
January 20, 2018, 01:07:42 PM
 #6

LN is already up & working btw  Cool

https://lnmainnet.gaben.win/
125 channels / 65 nodes on mainnet now.

Still, don't be #reckless wait for a stable idiot proof release.

There are people buying real, physical things paying with lightning already. Take this guy for instance, he paid $2.50 to fill the channel:

https://www.reddit.com/r/Bitcoin/comments/7rkunw/lightning_the_future_just_arrived_at_my_doorstep/

The problem is when you run out of money, you must refill the channel with another on-chain transaction, so this incentives people to put as much money as possible at once on the channel, something that may not be viable for most people. For example if you want to buy a router, let's say it costs $150 bucks.. well most people isn't going to put more than that, so you would already spend all of your channel's funds at once not saving money.

I wonder he did get such a low transaction for the on-chain one tho, $2.50 is super low even if you use segwit. He must have gotten lucky with a period of low mempool activity.

No it is real.

Segwit really reduces the fees. A lot. Today i moved all my funds from my legacy address to my new bech32-segwit address and i just simulated a tx while writing this message. A 100sat/byte tx costs 1.25$ (0.00011btc). 200sat/b can get confirmed almost instantly which is $2.5 indeed.

Mempool is also being cleared today.
Katashi
Sr. Member
****
Offline Offline

Activity: 560
Merit: 250


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
January 20, 2018, 03:09:39 PM
 #7

That is how it was supposed to work, is it not? The more channels that are opened, the easier and
cheaper it will be to find the shortest route for your transaction. As long as the channel is funded, it
will stay open for others to use.

I still have a very basic knowledge on the subject, like I think most people do, but I have a general grasp of the use case.

This is truely a mind blowing technology. ^smile^

I agree on you too, it is really astonishing if it will be it's mechanics. I mean it's a too good to be true tech way back then but now it's implemented. But somehow i just think back if that's the case if it's more prone on open channel, does it mean it's also prone to future breaches or frauds? Just wondering..


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-
WEBSITEE |█| WHITEPAPER












LoyceV
Legendary
*
Offline Offline

Activity: 1274
Merit: 2134


Self-made Legendary!


View Profile WWW
January 20, 2018, 05:09:15 PM
 #8

I wonder he did get such a low transaction for the on-chain one tho, $2.50 is super low even if you use segwit. He must have gotten lucky with a period of low mempool activity.
He paid 119 Satoshi/byte. Currently 73 Satoshi/byte is enough for a fast transaction, it's been relatively low all day. If it drops even more tomorrow (as most Sundays), I'll consolidate some of my inputs.

When you're making a transaction anyway, adding another output doesn't increase the size much. I'm not sure how many bytes it takes to fund LN, but his total transaction with 1 input and 2 outputs was 257 bytes. At current fees, I expect around 5000 Satoshi to be enough to fund a channel. That's less than $1 (on top of the fee you're paying anyway).

https://lnmainnet.gaben.win/
125 channels / 65 nodes on mainnet now.
Very nice to see, thanks for the link. I'd love to experiment with it, even if it's just sending some money back and forth for testing.


Bitcointalk should have a Lightning Network board, it will be there eventually anyway, so why not start it already?

sommii
Member
**
Offline Offline

Activity: 126
Merit: 10


View Profile
January 20, 2018, 06:42:09 PM
 #9

68 nodes and 131 channels, just few more zero's after those numbers and we're ready to go.  Grin

jackg
Copper Member
Legendary
*
Offline Offline

Activity: 1162
Merit: 1111


View Profile
January 20, 2018, 08:49:08 PM
 #10

LN is already up & working btw  Cool

https://lnmainnet.gaben.win/
125 channels / 65 nodes on mainnet now.

Still, don't be #reckless wait for a stable idiot proof release.

How does this lightning network work and by extension other lightning networks that will come in.

To keep it decentralised, will every node runner mine every transaction in their pool.
Is there some sort of order transactions will be stored by (ordered transaction hash numbers or something)?

achow101
Moderator
Legendary
*
Offline Offline

Activity: 1554
Merit: 1703


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
January 21, 2018, 03:38:20 AM
 #11

How does this lightning network work and by extension other lightning networks that will come in.

To keep it decentralised, will every node runner mine every transaction in their pool.
Is there some sort of order transactions will be stored by (ordered transaction hash numbers or something)?
No. Just No.

Read the lightning paper: https://lightning.network/lightning-network-paper.pdf

Kakmakr
Legendary
*
Offline Offline

Activity: 1442
Merit: 1128

★ ChipMixer | Bitcoin mixing service ★


View Profile
January 21, 2018, 07:15:19 AM
 #12

That is how it was supposed to work, is it not? The more channels that are opened, the easier and
cheaper it will be to find the shortest route for your transaction. As long as the channel is funded, it
will stay open for others to use.

I still have a very basic knowledge on the subject, like I think most people do, but I have a general grasp of the use case.

This is truely a mind blowing technology. ^smile^

I agree on you too, it is really astonishing if it will be it's mechanics. I mean it's a too good to be true tech way back then but now it's implemented. But somehow i just think back if that's the case if it's more prone on open channel, does it mean it's also prone to future breaches or frauds? Just wondering..

Well, the way I understand it, it can only be opened and closed by the person that innitiated the Channel. They do not have any more control over it than that, and other people using these channels has even less access to do something with it.

I wonder how much control the developers have, when something goes wrong. At the moment miners can fast track specific transactions, because they are on-chain, but these transactions are off-chain.

Lot's of research still has to be done on my side, to fully grasp this.

Enre
Sr. Member
****
Offline Offline

Activity: 588
Merit: 256


ICO Accelerator & Consultant


View Profile
January 24, 2018, 01:02:51 PM
 #13

Awesome stuff. So the person opening the channel is the only one paying the fees?
If that's so that is going to be great.

I'd want to eventually figure it out and implement it on eCommerce solutions
motoprose
Member
**
Offline Offline

Activity: 168
Merit: 41


View Profile
January 24, 2018, 01:08:59 PM
 #14

This is more interesting to know how it all comes together.
Cause have heard of it being implemented but didn't know how it worked until reading this thread.
This initial opening of the channel and then someone filling the send to complete it's transaction is really going to solve all the hassle that has plagued bitcoin in the past 6-8 months since it's rise to stardom on television media outlets such as CNBC and Bloomberg in the recent months.
Enre
Sr. Member
****
Offline Offline

Activity: 588
Merit: 256


ICO Accelerator & Consultant


View Profile
January 27, 2018, 02:33:22 AM
 #15

Is there a way to run lightning without running a full bitcoin node?
I want to test a few things without having to use up a lot of bandwidth and space
HeRetiK
Hero Member
*****
Online Online

Activity: 896
Merit: 758


the forkings will continue until morale improves


View Profile
January 27, 2018, 08:58:58 AM
Merited by achow101 (1)
 #16

Awesome stuff. So the person opening the channel is the only one paying the fees?
If that's so that is going to be great.

I'd want to eventually figure it out and implement it on eCommerce solutions

Yes. Opening and closing channels are both just on-chain Bitcoin transactions -- like sending coins, but with a different script obviously -- for which the regular transaction fees apply. Once a channel is open you only need to pay a negligible fee to each hop along the route of your payment.


Is there a way to run lightning without running a full bitcoin node?
I want to test a few things without having to use up a lot of bandwidth and space

Not sure about mainnet, but you can try the Eclair testnet android client or the HTLC.me testnet web client. Both are rather simplified in their functionality though, ie. HTLC.me hides opening / closing payment channels from the user and Eclair can only send, but not receive Lightning transactions. From what I've gathered so far you currently have to run a full node yourself to securely receive Lightning transactions.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1470
Merit: 1276


No I dont escrow anymore.


View Profile WWW
January 28, 2018, 09:48:26 AM
Merited by DannyHamilton (2), political1907 (1)
 #17

I consider joining in and be #reckless. I have some design questions though. Under the premise that I mostly dont want to spend funds and want to help process transactions and establish cheap path's along the network. Currently the topology[1] looks to me like there are a couple main hubs and everyone else just attaches to them.
#1 (how connect?) What would be a good approach to establish alternative paths? Connect to all bigger hubs, e.g. all with x+ connections? Or rather establish a connection between other nodes within the network that are not already connected via a single hop?
#2 (resource requirements?) What (additional) resources are required? Has anyone data on this? I consider upgrading my server anyway, so this would be a good switching point.
#3 (minimal funds/channel?) The current total capacity is only(?) ~3.68 BTC (again according to[1]), what would be - in your opinion - a good amount to put aside per channel? As much as possible obviously, but at which point does it become too little? Considering I plan to invest X amount of BTC this "minimal amount" would limit the number of channel I could reasonably keep open.
#4 (is much work?) How much maintainance is needed? Funds would move between channels, but the main flow may be in a certain direction along the path. Because people just buy stickers instead of sending funds back and forth. Has anyone any experience with this yet?

Thanks in advance.

[1] thanks for the awesome graph here https://lnmainnet.gaben.win/ btw
nitrousteam
Member
**
Offline Offline

Activity: 154
Merit: 15


View Profile
January 28, 2018, 12:18:47 PM
 #18

That is how it was supposed to work, is it not? The more channels that are opened, the easier and
cheaper it will be to find the shortest route for your transaction. As long as the channel is funded, it
will stay open for others to use.

I still have a very basic knowledge on the subject, like I think most people do, but I have a general grasp of the use case.

This is truely a mind blowing technology. ^smile^

It's a pipe dream. Currently, it doesn't even work, and it has SEVERE drawbacks:

1) payment channels still rely on the blockchain ultimately, so you will need higher throughput eventually anyway
2) it requires adoption - if it sees adoption similar to SegWit levels you're looking at nearly no throughput increase and high fees to open, refund and close channels
3) terrible UX

also: ETH HAS PAYMENT CHANNELS TOO

Swap your BTC to ETH - thank me later!

             CONTRACTNET     |     At the intersection of Blockchain, IOT & SMART CONTRACTS             
|     WHITEPAPER     |     TWITTER     |      TELEGRAM     
████████████████████████  [  JOIN ICO   ●   10th MARCH  ] ████████████████████████
mindrust
Legendary
*
Offline Offline

Activity: 1218
Merit: 1159



View Profile WWW
January 28, 2018, 12:30:52 PM
Merited by HeRetiK (1)
 #19

That is how it was supposed to work, is it not? The more channels that are opened, the easier and
cheaper it will be to find the shortest route for your transaction. As long as the channel is funded, it
will stay open for others to use.

I still have a very basic knowledge on the subject, like I think most people do, but I have a general grasp of the use case.

This is truely a mind blowing technology. ^smile^

It's a pipe dream. Currently, it doesn't even work, and it has SEVERE drawbacks:

1) payment channels still rely on the blockchain ultimately, so you will need higher throughput eventually anyway
2) it requires adoption - if it sees adoption similar to SegWit levels you're looking at nearly no throughput increase and high fees to open, refund and close channels
3) terrible UX

also: ETH HAS PAYMENT CHANNELS TOO

Swap your BTC to ETH - thank me later!

The software is still in alpha. GUI will be better.

Adoption is easy once a foolproof wallet comes out.

Swap to eth that got hacked (remember dao) numerous times before while btc had zero issues? No thanks. I trust the core team more than Vitalik Buttcoin.

Let everything aside, eth has a CEO while bitcoin has none. Satoshi left the game but vitalik is still around can manipulate the markets with his words. If this is not centralization I don't know what is. Even Charlie Lee realized his mistake and sold his stash lately.
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
January 28, 2018, 01:15:46 PM
 #20

I wonder if there is a chance of c-lightning being merged into core codebase?

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!