Bitcoin Forum
April 25, 2024, 09:13:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how will lightning users find compatible payment channels?  (Read 994 times)
cbeast (OP)
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
April 15, 2015, 09:33:51 AM
Merited by ABCbits (2)
 #1

If larger amounts are transmitted and they want to use payment channels, but the other party doesn't have enough to credit in another channel because they already have large channels open, then how will they find channels capable of linking them? It seems like a 6 Degrees of Cheryl's Birthday problem.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
1714036398
Hero Member
*
Offline Offline

Posts: 1714036398

View Profile Personal Message (Offline)

Ignore
1714036398
Reply with quote  #2

1714036398
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714036398
Hero Member
*
Offline Offline

Posts: 1714036398

View Profile Personal Message (Offline)

Ignore
1714036398
Reply with quote  #2

1714036398
Report to moderator
1714036398
Hero Member
*
Offline Offline

Posts: 1714036398

View Profile Personal Message (Offline)

Ignore
1714036398
Reply with quote  #2

1714036398
Report to moderator
Mashuri
Full Member
***
Offline Offline

Activity: 135
Merit: 107


View Profile
April 15, 2015, 10:30:08 PM
Merited by ABCbits (1)
 #2

Couldn't it just be broken up into a bunch of small transactions instead?  In the lightning network it would still get through pretty fast, and with arguably less risk (only the currently "active" small transaction is at risk of failing).  When faced with a narrow data bus, up the frequency. Smiley

cbeast (OP)
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
April 15, 2015, 10:54:31 PM
 #3

Couldn't it just be broken up into a bunch of small transactions instead?  In the lightning network it would still get through pretty fast, and with arguably less risk (only the currently "active" small transaction is at risk of failing).  When faced with a narrow data bus, up the frequency. Smiley
That would require closing the contract and paying mining fees. If mining fees go up substantially, then you end up paying a lot more. The point of Lightning is to rarely pay mining fees.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
Mashuri
Full Member
***
Offline Offline

Activity: 135
Merit: 107


View Profile
April 15, 2015, 11:22:31 PM
Merited by ABCbits (1)
 #4

Couldn't it just be broken up into a bunch of small transactions instead?  In the lightning network it would still get through pretty fast, and with arguably less risk (only the currently "active" small transaction is at risk of failing).  When faced with a narrow data bus, up the frequency. Smiley
That would require closing the contract and paying mining fees. If mining fees go up substantially, then you end up paying a lot more. The point of Lightning is to rarely pay mining fees.

No it wouldn't.  The whole point of a payment channel is that multiple payments can be made on it without submitting to the block chain.  The only reason to do so would be if a party is uncooperative.

cbeast (OP)
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
April 15, 2015, 11:58:00 PM
 #5

Couldn't it just be broken up into a bunch of small transactions instead?  In the lightning network it would still get through pretty fast, and with arguably less risk (only the currently "active" small transaction is at risk of failing).  When faced with a narrow data bus, up the frequency. Smiley
That would require closing the contract and paying mining fees. If mining fees go up substantially, then you end up paying a lot more. The point of Lightning is to rarely pay mining fees.

No it wouldn't.  The whole point of a payment channel is that multiple payments can be made on it without submitting to the block chain.  The only reason to do so would be if a party is uncooperative.
I was under the impression that payments could be made with credit already nLockTimed into the system so you wouldn't need to commit more money into it than is owed to you.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
Mashuri
Full Member
***
Offline Offline

Activity: 135
Merit: 107


View Profile
April 16, 2015, 12:38:42 AM
Last edit: April 16, 2015, 12:49:31 AM by Mashuri
 #6

Couldn't it just be broken up into a bunch of small transactions instead?  In the lightning network it would still get through pretty fast, and with arguably less risk (only the currently "active" small transaction is at risk of failing).  When faced with a narrow data bus, up the frequency. Smiley
That would require closing the contract and paying mining fees. If mining fees go up substantially, then you end up paying a lot more. The point of Lightning is to rarely pay mining fees.

No it wouldn't.  The whole point of a payment channel is that multiple payments can be made on it without submitting to the block chain.  The only reason to do so would be if a party is uncooperative.
I was under the impression that payments could be made with credit already nLockTimed into the system so you wouldn't need to commit more money into it than is owed to you.

I get the feeling we're not on the same page here.  Let me know if this scenario helps to answer your original question:

A has a channel with B and B has a channel with C, but A and C do not have a channel with each other.  A wants to send 10 BTC to C through B but B only has a 1 BTC balance in his/her channel with C (his balance with A doesn't matter, since he will be pulling funds from him/her).  For simplicity, we'll assume there are no fees between any of these parties.  A creates a 1 BTC Hashed Timelock Contract (HTLC1) and passes it to B.  B then creates a HTLC for 1 BTC (HTLC2) and passes it to C.  C unlocks HTLC2 and pulls 1 BTC from B.  This allows B to unlock HTLC1 and pull 1 BTC from A.  The transfer of 1 BTC is now complete.  Notice that B never has to commit more funds from outside his channels.  His balance fluctuates between 0 and 1 BTC, finalizing back to its original 1 BTC.  A, B and C now repeat the same procedure 9 more times.  In the lightning network this can all happen in a matter of milliseconds.

Edited for clarity.

Mashuri
Full Member
***
Offline Offline

Activity: 135
Merit: 107


View Profile
April 16, 2015, 01:23:03 AM
 #7

Looks like I schooled myself with that scenario.  I see what problem you're pointing out now.  AB's funding transaction and BC's funding transaction cannot interact with each other directly.  It doesn't matter what B's output on AB is.  If B's output on BC is 0 then he/she cannot send any more BTC on that channel without transacting on the block chain.

I think the solution to this will be multifaceted.  As the network grows, BGP-like routing systems can emerge to find working paths for transactions.  Also, I see a market incentive for hub-and-spoke 2-of-3 payment channels emerging, with well-funded, well-connected hubs charging higher fees.

cbeast (OP)
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
April 17, 2015, 09:36:40 AM
 #8

Looks like I schooled myself with that scenario.  I see what problem you're pointing out now.  AB's funding transaction and BC's funding transaction cannot interact with each other directly.  It doesn't matter what B's output on AB is.  If B's output on BC is 0 then he/she cannot send any more BTC on that channel without transacting on the block chain.

I think the solution to this will be multifaceted.  As the network grows, BGP-like routing systems can emerge to find working paths for transactions.  Also, I see a market incentive for hub-and-spoke 2-of-3 payment channels emerging, with well-funded, well-connected hubs charging higher fees.
Exactly. Fees will be the reward in this case, not an altcoin that so many others are convinced are needed. Fees are something everyone understands.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
Mashuri
Full Member
***
Offline Offline

Activity: 135
Merit: 107


View Profile
April 17, 2015, 04:30:12 PM
Last edit: April 17, 2015, 08:48:06 PM by Mashuri
 #9

Exactly. Fees will be the reward in this case, not an altcoin that so many others are convinced are needed. Fees are something everyone understands.

Agreed.  Fees within the same system are far more transparent.  An altcoin involves other hard-to-calculate transactions costs, such as slippage, variable security risks, etc.

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!