summaryrefslogtreecommitdiff
path: root/d1/012f2eec6fd4ac2091efb6936ca58023a82c61
blob: 4f2377d03930d4acd28ec2822e92176d2735e7dd (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
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 4471A8A7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  9 Aug 2015 21:45:46 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-la0-f52.google.com (mail-la0-f52.google.com
	[209.85.215.52])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 92F99183
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  9 Aug 2015 21:45:44 +0000 (UTC)
Received: by lahi9 with SMTP id i9so14449957lah.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 09 Aug 2015 14:45:43 -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=upgvaK9KkSwEhY2IVQPW6v2xUHj8Nj2Cj4zlWzNkfgo=;
	b=ta2w685Tp714nk5mSbKs8/AhiK37QHvFf1r0RTxnPLWvd/VdgEPG9HFE1Tg1fDPfC0
	ESDDbr05citd5LqZmT9ynNzfyR2gK4PXSChAG9XLKDFGdA/j92GrprP/6mvIZ+GfgWFl
	7sCgkeGXNWnb/GNkg2CaC/NT6HuYCLC9KTMaripOCkh0HqDldHA+ENmjk1b1V/DnMqsC
	Ufluj2SGeFOTgio92Ju+fpqpaJygJp0XLuzeVny3rWeXdgHTCD2v3ZmiHFv9uVFUhb9T
	djdCLZMziHw94tLNKyVOsVxv4SuM3lHDfmdzOq20U2aNZzR2k/tkORBn6JX7IL2Ao+iW
	toWw==
X-Received: by 10.152.36.226 with SMTP id t2mr17563087laj.6.1439156742835;
	Sun, 09 Aug 2015 14:45:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.22.25 with HTTP; Sun, 9 Aug 2015 14:45:23 -0700 (PDT)
In-Reply-To: <CALJP9GDMgqn2VeR4y4RVxqJ_iW57hExwXBHNSkxo+-AK+7Zb6g@mail.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>
From: Hector Chu <hectorchu@gmail.com>
Date: Sun, 9 Aug 2015 22:45:23 +0100
Message-ID: <CAAO2FKHu_BVcR-zH-0oRb0v6L_tyuncvUd2fOboKJ9HaKHrVrQ@mail.gmail.com>
To: Tom Harding <tomh@thinlink.com>
Content-Type: multipart/alternative; boundary=089e0158b5e66ed76d051ce7ca6c
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 21:45:46 -0000

--089e0158b5e66ed76d051ce7ca6c
Content-Type: text/plain; charset=UTF-8

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
>
>

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

<div dir=3D"ltr">Tom, my understanding is that the money that is debited fr=
om 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 tricks to pay for the Bitcoin transaction fees, we can assu=
me that Bitcoin fees do not play a part in the payment channel balances.</d=
iv><div><br></div><div>So, the interesting question is what are the costs o=
f running a payment hub? The tx fees that a payment hub would have to pay t=
o settle its Bitcoin transactions would be passed on as a cost to the clien=
ts of the payment hub. Also there is a cost to locking up funds in a paymen=
t channel (time value of money). The lost interest or opportunity cost on t=
hose 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"mail=
to:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@lis=
ts.linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><span class=3D""><p dir=3D"ltr">On Aug 9, 2015 11:54 AM, &quot;Mark Fri=
edenbach&quot; &lt;<a href=3D"mailto:mark@friedenbach.org" target=3D"_blank=
">mark@friedenbach.org</a>&gt; wrote:</p>
<p dir=3D"ltr">&gt; On the contrary the funds were advanced by the hub on t=
he 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 o=
n 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">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>

--089e0158b5e66ed76d051ce7ca6c--