summaryrefslogtreecommitdiff
path: root/e3/fc474f067fc04c0e99d20579a214a2491fe9a9
blob: 402cb166e6c1aada4662bd74f56676f4ed8bdc93 (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
Return-Path: <patrick.strateman@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 433EC8A7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  9 Aug 2015 21:58:01 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com
	[209.85.192.174])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 528F416F
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  9 Aug 2015 21:58:00 +0000 (UTC)
Received: by pdbfa8 with SMTP id fa8so23944403pdb.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 09 Aug 2015 14:58:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:disposition-notification-to:date:from:user-agent
	:mime-version:to:subject:references:in-reply-to:content-type;
	bh=7SPlazOgn7tB+Sp3NR8I8vzwZ8B0aE9i7SuSUidaknU=;
	b=W3GxabwBWPDcPr6IfTpvqr7Mykz3D4eyL1G1bIoGeSxt5j9pyfhiXIu3PRFVYpVaBw
	JEN4UX5e6AKrzUpfzyBufqlIyiMBXX0xUtldVItC9tszz2G4A6vUgn890fXHMjFZlQy/
	wyBCAuoVZdUsJReKeVz7cUlVep8rGAjvzwbqeZiXEg/2Iyp0F5tspyYlwW2hSIQaj0tV
	v2FvPwqZoFP4xiAgYJix5zKvNnTNuGcyW1qN1EKGo2pon+KGI1uoh/VDRpZCuFyArtYQ
	SHFur+cHFXmVq3mgx6eyNcej/767tmlTkIdmOoi9JnHx4iYIup+5nNscFEwFW8QOle7a
	GElw==
X-Received: by 10.70.53.225 with SMTP id e1mr38922095pdp.23.1439157480061;
	Sun, 09 Aug 2015 14:58:00 -0700 (PDT)
Received: from [10.45.134.100] (c-67-188-9-126.hsd1.ca.comcast.net.
	[67.188.9.126]) by smtp.googlemail.com with ESMTPSA id
	ft7sm12772058pdb.58.2015.08.09.14.57.59
	for <bitcoin-dev@lists.linuxfoundation.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Sun, 09 Aug 2015 14:57:59 -0700 (PDT)
Message-ID: <55C7CCE5.10208@gmail.com>
Date: Sun, 09 Aug 2015 14:57:57 -0700
From: Patrick Strateman <patrick.strateman@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.8.0
MIME-Version: 1.0
To: bitcoin-dev@lists.linuxfoundation.org
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>
In-Reply-To: <CAAO2FKHu_BVcR-zH-0oRb0v6L_tyuncvUd2fOboKJ9HaKHrVrQ@mail.gmail.com>
Content-Type: multipart/alternative;
	boundary="------------060207020406040308000002"
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
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 21:58:01 -0000

This is a multi-part message in MIME format.
--------------060207020406040308000002
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

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
> <mailto:bitcoin-dev@lists.linuxfoundation.org>> wrote:
>
>     On Aug 9, 2015 11:54 AM, "Mark Friedenbach" <mark@friedenbach.org
>     <mailto: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
>     <mailto:bitcoin-dev@lists.linuxfoundation.org>
>     https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev


--------------060207020406040308000002
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#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's services to recoup these costs.<br>
    <br>
    <div class="moz-cite-prefix">On 08/09/2015 02:45 PM, Hector Chu via
      bitcoin-dev wrote:<br>
    </div>
    <blockquote
cite="mid:CAAO2FKHu_BVcR-zH-0oRb0v6L_tyuncvUd2fOboKJ9HaKHrVrQ@mail.gmail.com"
      type="cite">
      <div dir="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'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.</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't
          forget normal running costs such as networking and
          electricity.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 9 August 2015 at 22:27, Tom Harding
          via bitcoin-dev <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:bitcoin-dev@lists.linuxfoundation.org"
              target="_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
              class="">
              <p dir="ltr">On Aug 9, 2015 11:54 AM, "Mark Friedenbach"
                &lt;<a moz-do-not-send="true"
                  href="mailto:mark@friedenbach.org" target="_blank">mark@friedenbach.org</a>&gt;
                wrote:</p>
              <p dir="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="ltr">That's a chuckle.  </p>
            <p dir="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="ltr">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.</p>
            <p dir="ltr">I predict "all of the above." There is a name
              for these kinds of fees.  Can you guess it?<br>
            </p>
            <br>
            _______________________________________________<br>
            bitcoin-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev"
              rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
bitcoin-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>
<a class="moz-txt-link-freetext" href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------060207020406040308000002--