public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Joseph Poon <joseph@lightning•network>
To: Hector Chu <hectorchu@gmail•com>
Cc: Bitcoin Dev <bitcoin-dev@lists•linuxfoundation.org>
Subject: Re: [bitcoin-dev] What Lightning Is
Date: Sun, 9 Aug 2015 21:48:28 -0700	[thread overview]
Message-ID: <20150810044828.GC1758@lightning.network> (raw)
In-Reply-To: <CAAO2FKFvDfzgeWew8SNAQAa2avRSRWWaqp_WL9igFogJw0L9GQ@mail.gmail.com>

Hi Hector,

On Sun, Aug 09, 2015 at 09:48:41PM +0100, Hector Chu via bitcoin-dev wrote:
> Is the Lightning system limited in the number of hops there can be in
> the payment channel? I am looking at the initial Lightning slides
> presented in February and it looks like the locktime decrements by
> 1-day along each hop. So the more hops there are the longer my
> bitcoins are potentially locked up for?

The hops are limited to the time-value which the sender wishes to pay
and the minimum acceptable timeout between each hop. It should be
relatively cheap if you game it out, though (I don't forsee me opening a
1 BTC channel and being able to make $5 per month...)

1-day is used as a convenience. However, the time between hops should be
somewhat long, as the intermediate steps can be extended further when
you want to offload the HTLCs to others who have a channel open with
both counterparties. E.g. Alice sends a payment to Dave through Bob and
Carol. Bob has a channel with Carol and has an HTLC with it, but that
channel seems to be used a lot. Erin has a relationship to both Bob and
Carol, she can offload the payment so that the payment actually goes to
A->B->E->C->D. B<->C is now completely clear.

> > On Aug 9, 2015 1:15 PM, "Hector Chu" <hectorchu@gmail•com> wrote:
> >> In the Lightning network it is assumed that the balances can always
> >> be settled on the blockchain if any of the parties along the
> >> channel has a problem. What if the fee on the settlement
> >> transactions is not high enough to enter the blockchain? You can't
> >> do replace-by-fee after the fact. Do the fees always have to assume
> >> worst case scenarios on the Bitcoin fee market?

How do you send coins if you wanted to send funds below the current
IsStandard value? It should be no different. If your wallet can't send
funds below the IsStandard value on-chain today, then I don't think it
should be able to to in the future, right? If you send funds *at* the
minimum IsStandard value today, you're probably paying really high fees,
this is a problem that exists today.

-- 
Joseph Poon


  reply	other threads:[~2015-08-10  4:48 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 14:25 [bitcoin-dev] Block size following technological growth Pieter Wuille
2015-07-30 15:04 ` Greg Sanders
2015-07-30 15:12 ` Jorge Timón
2015-07-30 16:23   ` Jameson Lopp
2015-07-30 16:36     ` Bryan Bishop
2015-07-30 16:43       ` Jameson Lopp
2015-07-30 16:36   ` Venzen Khaosan
2015-07-30 17:51     ` Jorge Timón
2015-07-30 18:00       ` Jorge Timón
2015-07-30 16:56   ` Gary Mulder
2015-07-30 17:13     ` Mark Friedenbach
2015-07-30 16:20 ` Gavin Andresen
2015-07-30 16:41   ` Suhas Daftuar
2015-07-30 16:48   ` Adam Back
2015-07-30 16:49   ` Pieter Wuille
2015-07-31 10:16     ` Mike Hearn
2015-07-31 11:43       ` Venzen Khaosan
2015-07-31 11:51       ` Jorge Timón
2015-07-31 12:15         ` Mike Hearn
2015-07-31 13:07           ` Marcel Jamin
2015-07-31 14:33           ` Jorge Timón
2015-07-31 14:58             ` Mike Hearn
2015-07-31 15:28               ` Venzen Khaosan
2015-07-31 20:09               ` Elliot Olds
2015-08-04 10:35               ` Jorge Timón
2015-08-04 11:04                 ` Hector Chu
2015-08-04 11:27                   ` Pieter Wuille
2015-08-04 11:34                     ` Hector Chu
2015-08-04 12:10                       ` Venzen Khaosan
2015-08-04 13:13                       ` Jorge Timón
2015-08-04 13:28                         ` Hector Chu
2015-08-04 13:42                           ` Venzen Khaosan
2015-08-04 17:59                           ` Jorge Timón
2015-08-04 13:12                     ` Gavin Andresen
2015-08-04 13:54                       ` Pieter Wuille
2015-08-04 14:30                       ` Venzen Khaosan
2015-08-04 14:43                         ` [bitcoin-dev] Fwd: " Venzen Khaosan
2015-08-04 14:45                       ` [bitcoin-dev] " Alex Morcos
2015-08-05  8:14                       ` Gareth Williams
2015-08-04 11:59                   ` Jorge Timón
2015-08-04 12:19                     ` Hector Chu
2015-08-04 13:34                       ` Venzen Khaosan
2015-08-04 13:37                       ` Jorge Timón
2015-08-05  7:29                     ` Elliot Olds
2015-08-06  1:26                       ` Jorge Timón
2015-08-06 13:40                         ` Gavin Andresen
2015-08-06 14:06                           ` Pieter Wuille
2015-08-06 14:21                             ` Gavin Andresen
2015-08-06 14:53                               ` Pieter Wuille
     [not found]                                 ` <CABsx9T0B2bZrFHxYR_QNwBmxskQx31zt=QE5BJAYjcOo7wbo3A@mail.gmail.com>
2015-08-06 15:24                                   ` [bitcoin-dev] Fwd: " Gavin Andresen
2015-08-06 15:26                                     ` Pieter Wuille
2015-08-06 18:43                                       ` Michael Naber
2015-08-06 18:52                                         ` Pieter Wuille
2015-08-07 16:06                                           ` Thomas Zander
2015-08-07 16:30                                             ` Pieter Wuille
2015-08-07 17:00                                               ` Thomas Zander
2015-08-07 17:09                                                 ` Pieter Wuille
2015-08-07 21:35                                                   ` Thomas Zander
2015-08-07 22:53                                                     ` Adam Back
2015-08-08 16:54                                                       ` Dave Scotese
2015-08-07 17:50                                               ` Gavin Andresen
2015-08-07 18:05                                                 ` Jameson Lopp
2015-08-07 18:10                                                 ` Pieter Wuille
2015-08-07 21:43                                                   ` Thomas Zander
2015-08-07 22:00                                                   ` Thomas Zander
2015-08-06 16:19                                 ` [bitcoin-dev] " Tom Harding
2015-08-06 21:56                               ` Peter Todd
2015-08-06 15:25                           ` Jorge Timón
2015-08-06 16:03                             ` Gavin Andresen
2015-08-06 16:11                               ` Mike Hearn
2015-08-06 17:15                               ` Jorge Timón
2015-08-06 19:42                                 ` Gavin Andresen
2015-08-06 20:01                                   ` Pieter Wuille
2015-08-06 21:51                                   ` Jorge Timón
2015-08-06 23:09                         ` Elliot Olds
2015-08-10 19:28                           ` Jorge Timón
2015-08-11  5:48                             ` Elliot Olds
2015-08-09 18:46                   ` [bitcoin-dev] What Lightning Is Tom Harding
2015-08-09 18:54                     ` Mark Friedenbach
2015-08-09 20:14                       ` Hector Chu
     [not found]                         ` <CAOG=w-s9KsaPwveSpgdvsVTWUDV77YY7Em7NZGyxSQMMCccYSg@mail.gmail.com>
2015-08-09 20:48                           ` Hector Chu
2015-08-10  4:48                             ` Joseph Poon [this message]
2015-08-10 17:03                         ` odinn
2015-08-10 17:14                           ` Pieter Wuille
2015-08-10 17:45                             ` odinn
2015-08-09 21:27                       ` Tom Harding
2015-08-09 21:40                         ` Chris Pacia
2015-08-09 21:45                         ` Hector Chu
2015-08-09 21:57                           ` Patrick Strateman
2015-08-09 22:03                             ` Hector Chu
2015-08-09 22:36                               ` Patrick Strateman
2015-08-10  1:52                           ` Tom Harding
2015-08-10  3:31                             ` Patrick Strateman
2015-08-09 22:06                         ` Patrick Strateman
2015-08-09 22:09                           ` Hector Chu
2015-08-09 22:27                             ` Patrick Strateman
2015-08-09 22:30                               ` Hector Chu
2015-08-09 22:44                             ` Gavin Andresen
2015-08-09 22:51                               ` Btc Drak
2015-08-10  8:27                                 ` Thomas Zander
2015-08-10  8:36                                   ` Patrick Strateman
2015-08-10  4:39                               ` Joseph Poon
2015-08-10 21:02                               ` Anthony Towns
2015-08-10 21:19                                 ` Anthony Towns
2015-08-10 21:43                                   ` Adam Back
2015-08-11  9:01                                     ` Hector Chu
2015-08-11 17:17                                       ` Simon Liu
2015-07-31 14:52           ` [bitcoin-dev] Block size following technological growth Bryan Bishop
2015-07-30 17:46   ` Jorge Timón
2015-08-02 22:35   ` Anthony Towns
2015-07-30 20:20 ` Thomas Zander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150810044828.GC1758@lightning.network \
    --to=joseph@lightning$(echo .)network \
    --cc=bitcoin-dev@lists$(echo .)linuxfoundation.org \
    --cc=hectorchu@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox