summaryrefslogtreecommitdiff
path: root/44/0bae6059588ef8cf9ab2f9fabfea17a21ddc9b
blob: 1f8fe2025d1b37cf4f82549961b4419d6ba60767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
Return-Path: <hectorchu@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id BCC7E8A7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  9 Aug 2015 22:04:13 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-la0-f47.google.com (mail-la0-f47.google.com
	[209.85.215.47])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7AB8016F
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  9 Aug 2015 22:04:11 +0000 (UTC)
Received: by lalv9 with SMTP id v9so2223068lal.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 09 Aug 2015 15:04:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=ts/ULI81nUOLuMLDQ5BsLkoPsFdyta1zESdJmWRdbEc=;
	b=fROQ7ET5xwKGGsTp4voOyvecRM/zzeUvCtC4+5CDRRQKIxQNRYNC16tsLrGCXOpYwC
	wo2APU10SzxMIv1Faw81T8kQGb5dXuBbTvtVEOSNBCBU2lZQwO9qzM3M9oXKXHsBqf/u
	bnsoyejzRSMAre5I8soRBUrx75BDioapF4DdlADAebf+3geXrikoQ5zSX+moL1EM6G9O
	zDZ1qP1L6cn8Dd4yZWbtYBYoxSoUvjq3+v44KYGOSrMIuLnvboJyQbY1xRuMkVjPb/9v
	oTMNb2gRl4L49yDpLMjjJYbOX7yoqyTQkdaBhMybq2yD6Xpo63N4nPxQFvYCK/BYjn1d
	w4sw==
X-Received: by 10.112.129.104 with SMTP id nv8mr3367949lbb.63.1439157849980;
	Sun, 09 Aug 2015 15:04:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.22.25 with HTTP; Sun, 9 Aug 2015 15:03:50 -0700 (PDT)
In-Reply-To: <55C7CCE5.10208@gmail.com>
References: <CAPg+sBj-wA1DMrwkQRWnzQoB5NR-q=2-5=WDAAUYfSpXRZSTqw@mail.gmail.com>
	<CABsx9T1NqBX9Tr8vRCtCeri76e0wrtkvRhEPyG9Advv_3Uqxng@mail.gmail.com>
	<CAPg+sBjwVxYTOn3+bwahHGSGpBh5BCh5b4OOFkw_2x97YZSFPQ@mail.gmail.com>
	<CA+w+GKS_wDDgf=HjPgD5QZ_wdTRg7i_oYUgBRmh9HpufETAP=w@mail.gmail.com>
	<CABm2gDqvpWdHdjo1OBzbw-6ivu5DEGcfvK8duc3-KAjsSeWapA@mail.gmail.com>
	<CA+w+GKRPPcgCO0pBP2PjKGU49tWuBoF1vRJzY+4fWn71HOVDPw@mail.gmail.com>
	<CABm2gDqV1NdHJZBmUWX3AxVYy6ErU7AB-wsWgGzbiTL1twdq6g@mail.gmail.com>
	<CA+w+GKTLBWj6b4ppwrmnXb_gybYFcrX7haLBSdCnMaijy2An4w@mail.gmail.com>
	<CABm2gDpWPhYNh=g-ZXCsfe-aPq=N6NKSWKP9kr-KtPVrWAxB7Q@mail.gmail.com>
	<CAAO2FKHsczkwwqO87cJFtxBp9JE=vf=GcxLx37GpRUkPq8VGHQ@mail.gmail.com>
	<55C79FF0.8040100@thinlink.com>
	<CAOG=w-skYq84=PtN45FB-dGoY1783Jz7K1T16e2JVGjLazWuyA@mail.gmail.com>
	<CALJP9GDMgqn2VeR4y4RVxqJ_iW57hExwXBHNSkxo+-AK+7Zb6g@mail.gmail.com>
	<CAAO2FKHu_BVcR-zH-0oRb0v6L_tyuncvUd2fOboKJ9HaKHrVrQ@mail.gmail.com>
	<55C7CCE5.10208@gmail.com>
From: Hector Chu <hectorchu@gmail.com>
Date: Sun, 9 Aug 2015 23:03:50 +0100
Message-ID: <CAAO2FKHk6L5KZSABRfj2WSNw4VB12Bu9kEeNcvZ7gC0nCkqHEQ@mail.gmail.com>
To: Patrick Strateman <patrick.strateman@gmail.com>
Content-Type: multipart/alternative; boundary=047d7b3a8bee6c87b3051ce80cbb
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAD_CREDIT,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] What Lightning Is
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Aug 2015 22:04:13 -0000

--047d7b3a8bee6c87b3051ce80cbb
Content-Type: text/plain; charset=UTF-8

Ok good. We have established it to be a non-trivial cost.
Now, what is the growth complexity of the total cost of the network in
terms of number of connections each hub has to other hubs? And then,
consider a payment channel with many hops in it. The end-to-end users would
have to swallow all the costs of the hubs in the channel.

On 9 August 2015 at 22:57, Patrick Strateman via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> The costs of operating a hub are as follows:
>
> Time value of the funds the Hub has locked up in payment channels.
> Enhanced risk of loss of control of private keys (the keys necessarily
> need to be on an internet connected system).
> Operating costs (I expect this will be minimal).
>
> The hub can charge a fee for it's services to recoup these costs.
>
>
> On 08/09/2015 02:45 PM, Hector Chu via bitcoin-dev wrote:
>
> Tom, my understanding is that the money that is debited from a payment hub
> is simultaneously credited from either another payment hub or the person
> making the payment, so that the net funds flow at a payment hub always sums
> to zero. So no, there is no credit advanced by the payment hub to anyone.
>
> Given Mark's previous answer of using CPFP and other tricks to pay for the
> Bitcoin transaction fees, we can assume that Bitcoin fees do not play a
> part in the payment channel balances.
>
> So, the interesting question is what are the costs of running a payment
> hub? The tx fees that a payment hub would have to pay to settle its Bitcoin
> transactions would be passed on as a cost to the clients of the payment
> hub. Also there is a cost to locking up funds in a payment channel (time
> value of money). The lost interest or opportunity cost on those funds would
> need to be paid for by its clients as well. And don't forget normal running
> costs such as networking and electricity.
>
> On 9 August 2015 at 22:27, Tom Harding via bitcoin-dev <
> bitcoin-dev@lists.linuxfoundation.org> wrote:
>
>> On Aug 9, 2015 11:54 AM, "Mark Friedenbach" <mark@friedenbach.org> wrote:
>>
>> > On the contrary the funds were advanced by the hub on the creation of
>> the channel. There is no credit involved.
>>
>> That's a chuckle.
>>
>> As I said, nothing requires the hub to advance anything, and if it does,
>> Bob can expect to pay for it.
>>
>> We'll see whether hubs assess a fee for depositing funds, whether the fee
>> depends on the amount deposited, and whether it depends on the amount of
>> time it stays there.
>>
>> I predict "all of the above." There is a name for these kinds of fees.
>> Can you guess it?
>>
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>>
>
>
> _______________________________________________
> bitcoin-dev mailing listbitcoin-dev@lists.linuxfoundation.orghttps://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>

--047d7b3a8bee6c87b3051ce80cbb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ok good. We have established it to be a non-trivial cost.<=
div>Now, what is the growth complexity of the total cost of the network in =
terms of number of connections each hub has to other hubs? And then, consid=
er a payment channel with many hops in it. The end-to-end users would have =
to swallow all the costs of the hubs in the channel.</div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On 9 August 2015 at 22:57, =
Patrick Strateman via bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:b=
itcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.l=
inuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    The costs of operating a hub are as follows:<br>
    <br>
    Time value of the funds the Hub has locked up in payment channels.<br>
    Enhanced risk of loss of control of private keys (the keys
    necessarily need to be on an internet connected system).<br>
    Operating costs (I expect this will be minimal).<br>
    <br>
    The hub can charge a fee for it&#39;s services to recoup these costs.<d=
iv><div class=3D"h5"><br>
    <br>
    <div>On 08/09/2015 02:45 PM, Hector Chu via
      bitcoin-dev wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">Tom, my understanding is that the money that is
        debited from a payment hub is simultaneously credited from
        either another payment hub or the person making the payment, so
        that the net funds flow at a payment hub always sums to zero. So
        no, there is no credit advanced by the payment hub to anyone.
        <div><br>
        </div>
        <div>Given Mark&#39;s previous answer of using CPFP and other trick=
s
          to pay for the Bitcoin transaction fees, we can assume that
          Bitcoin fees do not play a part in the payment channel
          balances.</div>
        <div><br>
        </div>
        <div>So, the interesting question is what are the costs of
          running a payment hub? The tx fees that a payment hub would
          have to pay to settle its Bitcoin transactions would be passed
          on as a cost to the clients of the payment hub. Also there is
          a cost to locking up funds in a payment channel (time value of
          money). The lost interest or opportunity cost on those funds
          would need to be paid for by its clients as well. And don&#39;t
          forget normal running costs such as networking and
          electricity.</div>
      </div>
      <div class=3D"gmail_extra"><br>
        <div class=3D"gmail_quote">On 9 August 2015 at 22:27, Tom Harding
          via bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-d=
ev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoun=
dation.org</a>&gt;</span>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><span>
              <p dir=3D"ltr">On Aug 9, 2015 11:54 AM, &quot;Mark Friedenbac=
h&quot;
                &lt;<a href=3D"mailto:mark@friedenbach.org" target=3D"_blan=
k">mark@friedenbach.org</a>&gt;
                wrote:</p>
              <p dir=3D"ltr">&gt; On the contrary the funds were advanced
                by the hub on the creation of the channel. There is no
                credit involved.<br>
              </p>
            </span>
            <p dir=3D"ltr">That&#39;s a chuckle.=C2=A0 </p>
            <p dir=3D"ltr">As I said, nothing requires the hub to advance
              anything, and if it does, Bob can expect to pay for it.</p>
            <p dir=3D"ltr">We&#39;ll see whether hubs assess a fee for
              depositing funds, whether the fee depends on the amount
              deposited, and whether it depends on the amount of time it
              stays there.</p>
            <p dir=3D"ltr">I predict &quot;all of the above.&quot; There is=
 a name
              for these kinds of fees.=C2=A0 Can you guess it?<br>
            </p>
            <br>
            _______________________________________________<br>
            bitcoin-dev mailing list<br>
            <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=
=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a><br>
            <a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/b=
itcoin-dev" rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundat=
ion.org/mailman/listinfo/bitcoin-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
bitcoin-dev mailing list
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
target=3D"_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoi=
n-dev</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
<br></blockquote></div><br></div>

--047d7b3a8bee6c87b3051ce80cbb--